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-sdkto install via npm.
- Use
npm testto run all tests. - Use
npm run buildto generate definitions & dist from the contents oflibfolder. - Use
update-sdk-infoto 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-patchnpm run new-minornpm 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.