1.0.4 • Published 4 years ago

zelloconsumer v1.0.4

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

What is this?

Instantiate Zello Consumer Easily

Installation

npm i zelloconsumer --save

Then...

in your index.js file

const zelloconsumer = require('zelloconsumer')

    zelloconsumer.call({
        issuer: 'path/issuerKey.txt',
        private: 'path/privateKey.json',
        widget: true
    }).then(port =>  console.log(`${port['port']}`))
    .catch(error =>  console.log(`${error['error']}`))

Options

Zello Consumer require 2 options, both of which are mandatory:

after obtaining them, save them in two files issuer.txt and private.json and pass the file path in the function

Test

node index.js

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago