Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Deprecated NodeJS/Browser API client and CLI tool for DatoCMS.
DatoCMS JS Client is a deprecated NodeJS/Browser API client and CLI tool for the DatoCMS Content Management API, now superseded by the official REST JS clients.
DatoCMS JS Client is a JavaScript package that provides programmatic access to the DatoCMS Content Management API, running in both Node.js and browser environments. It is maintained by DatoCMS and was the primary client for automating content management tasks before being replaced. The repository is marked with a deprecation warning that directs users to the new REST JS client available at github.com/datocms/js-rest-api-clients, with documentation at datocms.com/docs/content-management-api/using-the-nodejs-clients.
DatoCMS JS Client is aimed at developers who build tooling around DatoCMS and need direct API access. Node.js developers can write automation scripts that manipulate content models or records. Frontend developers can embed CMS editing capabilities in browser applications. DatoCMS users maintaining existing projects may use this client to understand the legacy codebase before migrating to the official replacement.
After cloning the repository, run npm install to install dependencies and npm run test to run the tests. The test suite's HTTP interactions are recorded and replayed from the ./cassettes directory for fast, deterministic, and accurate tests; removing those files triggers a fresh recording of HTTP requests and responses.
Yes. The repository header explicitly states that the package is deprecated and directs users to the new REST JS client.
DatoCMS released a new REST JS client at github.com/datocms/js-rest-api-clients. Its documentation is available at datocms.com/docs/content-management-api/using-the-nodejs-clients.
The package is open source under the MIT License, so it is free to use and modify. The underlying DatoCMS service is a separate commercial product.
Bug reports and pull requests are welcome on the GitHub repository. The project follows the Contributor Covenant code of conduct.
