npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

@djaty/djaty-nodejs

1.0.0-beta • Public • Published

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

install

npm i @djaty/djaty-nodejs

Downloadsweekly downloads

5

version

1.0.0-beta

license

BSD-3-Clause

homepage

djaty.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability