Skip to content
Official Djaty SDK for NodeJS
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
.editorconfig
.gitignore
.npmignore
LICENSE
README.md
package-lock.json
package.json
tsconfig.json
tslint.json

README.md

Djaty NodeJS SDK

Installation

$ npm install @djaty/djaty-nodejs

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/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

Build

$ npm run build

Run tests

$ npm run test

You can’t perform that action at this time.