/sdk-js

Javascript (Node and Browser) SDK for interacting with the Token System

Primary LanguageJavaScript

Token JavaScript SDK

The JavaScript SDK for interacting with TokenOS.

For the legacy SDK, see here.

npm version

$ npm install @token-io/tpp

Usage

Ensure Node 8:

const {TokenClient} = require('@token-io/tpp');
const Token = new TokenClient({env: 'sandbox'});

Please consult our developer docs.

See also the API reference for TPP (Third Party Provider) SDK and Core SDK.

There are also samples and sample tests in the source code for reference.

Scripts

$ npm install

Recursively installs all sub-project dependencies.

$ npm run devSetup

Recursively create symlinks of all sub-projects to facilitate development between projects.

Note: To undo these changes, simply run npm install