now-name-clideprecated

Check whether a '.now.sh' domain name is available on ZEIT Now

Usage no npm install needed!

<script type="module">
  import nowNameCli from 'https://cdn.skypack.dev/now-name-cli';
</script>

README

now-name-cli Build Status

Check whether a .now.sh domain name is available on ZEIT Now.

Install

~ ❯❯❯ npm install --global now-name-cli

Usage

~ ❯❯❯ now-name --help

  Usage
    $ now-name <name>

  Examples
    $ now-name carbon
    ✖ carbon is unavailable
    $ now-name xyz123
    ✔ xyz123 is available
    $ now-name deploy.now.sh thisisavailable
    ✖ deploy.now.sh is unavailable
    ✔ thisisavailable is available

  Exits with code 0 when all names are available or 2 when any names are taken

Credits

  • npm-name-cli - this module is essentially a fork of npm-name-cli, modified to check the availability of ZEIT Now's .now.sh domain names, instead of NPM package names

Related

License

MIT © Nikolaos Kamarinakis