Package Exports
- @djaty/djaty-nodejs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@djaty/djaty-nodejs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Djaty NodeJS SDK
Usage
Quick Start
You can start using Djaty NodeJS SDK with the default configuration
by just including it at the root app file and passing the apiKey and apiSecret
attributes as the following example:
const djaty = require('djaty-nodejs');
djaty.init({
apiKey: 'API_KEY',
apiSecret: 'API_SECRET'
});To use the NodeJS SDK inside Express and Koa based applications, please take a look at Official NodeJS SDK Docs
Development
Install dependencies
$ npm install
Run tests
$ npm run test