Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bukinoshita/now-domains-status
Check now domains availability
https://github.com/bukinoshita/now-domains-status
availability check domain now status zeit
Last synced: 8 days ago
JSON representation
Check now domains availability
- Host: GitHub
- URL: https://github.com/bukinoshita/now-domains-status
- Owner: bukinoshita
- License: mit
- Created: 2017-09-25T16:30:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T16:17:31.000Z (about 2 years ago)
- Last Synced: 2024-11-27T19:28:06.620Z (25 days ago)
- Topics: availability, check, domain, now, status, zeit
- Language: JavaScript
- Homepage:
- Size: 332 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# now-domains-status [![Build Status](https://travis-ci.org/bukinoshita/now-domains-status.svg?branch=master)](https://travis-ci.org/bukinoshita/now-domains-status)
> Check now domains availability
## Install
```bash
$ yarn add now-domains-status
```## Usage
```js
const nowDomainsStatus = require('now-domains-status')nowDomainsStatus('bukinoshita.io').then(res => res)
// => { available: false }
```## API
### nowDomainsStatus(domain, [options])
Returns a `promise`
#### domain
Type: `string`
Requireddomain 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](https://zeit.co/now), you must pass a `secret`. Get one [here](https://zeit.co/account/tokens).
## Related
- [now-domains](https://github.com/bukinoshita/now-domains) — CLI for this module
- [now-domains-price](https://github.com/bukinoshita/now-domains-price) — Check now domains price## License
MIT © [Bu Kinoshita](https://bukinoshita.io)