@nuskin/contentstack-utils
v1.1.0
Published
The description that will amaze and astound your audience when they read it
Downloads
5
Readme
@nuskin/contentstack-utils
A set of boiler plate classes that provide getter functions for contentstack
Installing
Usng npm:
npm add @nuskin/contentstack-utils
Usng yarn:
yarn add @nuskin/contentstack-utils
Example usage
import { WebsiteService } = require('@nuskin/contentstack-utils')
const websiteService = new WebsiteService({
api_key: '<your_api_key>',
delivery_token: '<your_delivery_token>',
environment: '<your_environment>'
});
const getPage = async () => {
return await websiteService.getPage('abc123');
};
const myPageEntry = getPage();
Resources
- Changelog could go here