now-domains-price

0.0.1 • Public • Published

now-domains-price Build Price

Check now domains price

Install

$ yarn add now-domains-price

Usage

const nowDomainsPrice = require('now-domains-price')

nowDomainsPrice('domain.com').then(res => res)
// => { price: 15, period: 1 }

API

nowDomainsPrice(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.

Related

License

MIT © Bu Kinoshita

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i now-domains-price

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • bukinoshita