Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including now-name-cli with all npm packages installed. Try it out:

var nowNameCli = require("now-name-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

now-name-cli v1.0.2

Check whether a '' domain name is available on ZEIT Now

now-name-cli Build Status

Check whether a domain name is available on ZEIT Now.


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


~ ❯❯❯ now-name --help

    $ now-name <name>

    $ now-name carbon
    ✖ carbon is unavailable
    $ now-name xyz123
    ✔ xyz123 is available
    $ now-name thisisavailable
    ✖ is unavailable
    ✔ thisisavailable is available

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


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



MIT © Nikolaos Kamarinakis

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free