API client and CLI tool for DatoCMS. Take a look at the full API documentation for examples.
After checking out the repo, run npm install
to install dependencies. Then, run npm run test
to run the tests.
Test suite's HTTP interactions are recorded/replayed from the ./cassettes
directory to get fast, deterministic and accurate tests. Simply delete every file within the directory to record new HTTP requests/responses.
Bug reports and pull requests are welcome on GitHub at https://github.com/datocms/js-datocms-client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The package is available as open source under the terms of the MIT License.