An official client library for retrieving content from Kentico Cloud for Node.js
This library is based on Kentico Cloud Delivery TypeScript SDK. Visit this SDK for all examples & instructions on how to work with this library.
- Use
npm i kentico-cloud-delivery-node-sdk
to install via npm.
- Use
npm test
to run all tests. - Use
npm run build
to generate definitions & dist from the contents oflib
folder. - Use
update-sdk-info
to run update SDK information by looking into package.json & writing it to a specialized file. This is picked up by delivery clients and used for identifying current SDK & version in request headers.
In order to publish SDK first run one of following tasks to increase version & update sdk info file:
npm run new-patch
npm run new-minor
npm run new-major
And then run (note that tests and necessary scripts are automatically executed using the prepublishOnly
script):
npm run publish
Feedback & Contributions are welcomed. Feel free to take/start an issue & submit PR.