Check now domains price
$ yarn add now-domains-price
const nowDomainsPrice = require('now-domains-price')
nowDomainsPrice('domain.com').then(res => res)
// => { price: 15, period: 1 }
Returns a promise
Type: string
Required
domain name to be checked
Type: object
Type: string
If secret
is not passed, it will try to get your local secret
stored on .now/auth.json
. If you don't use now, you must pass a secret
. Get one here.
MIT © Bu Kinoshita