Check now domains availability
$ yarn add now-domains-statusconst nowDomainsStatus = require('now-domains-status')
nowDomainsStatus('bukinoshita.io').then(res => res)
// => { available: false }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.
- now-domains — CLI for this module
- now-domains-price — Check now domains price
MIT © Bu Kinoshita