Skip to content

Allanksr/zelloconsumer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

Instantiate Zello Consumer Easily

Installation

npm i zelloconsumer --save

Dependency ejs |Dependency body-parser |Dependency express

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published