JSPM

now-domains-status

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q15657F
  • License MIT

Check now domains availability

Package Exports

  • now-domains-status

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (now-domains-status) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

now-domains-status Build Status

Check now domains availability

Install

$ yarn add now-domains-status

Usage

const nowDomainsStatus = require('now-domains-status')

nowDomainsStatus('bukinoshita.io').then(res => res)
// => { available: false }

API

nowDomainsStatus(domain, [options])

Returns a promise

domain

Type: string
Required

domain name to be checked

options

Type: object

secret

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.

License

MIT © Bu Kinoshita