0.0.4 • Published 5 years ago

grant-now v0.0.4

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

grant-now

npm npm CircleCI Coverage Status

Using grant now.

Installation

yarn add -D grant-now

Usage

require('dotenv/config')

require('grant-now')({
  open: false,
  [provider]: {
    key: '...',
    secret: '...',
  }
})

Options

  • protocol = 'http' Prepared for just in case.
  • port = 7000 Used as base port.
  • open = true Open connect urls.
  • [provider] grant's provider without callback property.

Result

Promise<{
  [provider]: {
    server,
    connect_url
  }
}>

License

MIT (http://opensource.org/licenses/MIT)