grant-now
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 withoutcallback
property.
Result
Promise<{
[provider]: {
server,
connect_url
}
}>