node-tinycert

tinycert API wrapper (V1)

Usage no npm install needed!

<script type="module">
  import nodeTinycert from 'https://cdn.skypack.dev/node-tinycert';
</script>

README

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