zelloconsumer

1.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i zelloconsumer

Weekly Downloads

4

Version

1.0.4

License

MIT

Unpacked Size

6.99 kB

Total Files

6

Last publish

Collaborators

  • allanksr