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

/node-tinycert/

    Package Sidebar

    Install

    npm i node-tinycert

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • frankgrimm