0.4.2 • Published 4 years ago

thunder-client v0.4.2

Weekly downloads
14
License
MIT
Repository
github
Last release
4 years ago

thunder-client JavaScript

npm version

The official JavaScript client library for the Thunder API.

See the docs here

Version Compatibility

  • Thunder 2.1.0 -> v0.4.0 or higher
  • Thunder 2.0.0 -> v0.3.0 or higher

Usage

First, install the package with NPM:

$ npm install thunder-client

Then, require the package and use it to call API methods:

const ThunderClient = require('thunder-client');

let thunder = new ThunderClient('http://thunder.sanctionco.com', 'application', 'secret');
thunder.getUser('sample@sanctionco.com', 'secure-password', (err, statusCode, result) => {
  if (err) return console.log(err);

  console.log(result);
});
0.4.2

4 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago