Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

node-tinycert

1.0.2 • Public • Published

node-tinycert

tinycert API wrapper for node.js

API documentation (and your API key) available at: https://www.tinycert.org/docs/api

library usage

First, require the library:

var TinyCertSession = require('node-tinycert');

Then, connect to your account via email, passphrase and API key:

var tc = new TinyCertSession(apiKey);
tc.connect(account, passphrase, function(err) {
    if (err) {
        console.log(err);
        return;
    };
    console.log('Connected to account <' + account + '>');
});

Example code

A full example of all supported functions can be found in test/index.js

install

npm i node-tinycert

Downloadsweekly downloads

8

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability