This package has been deprecated

Author message:

Use `npm-name` instead.

pkg-name

2.0.0 • Public • Published

Deprecated

Use npm-name instead.


pkg-name Build Status

Check whether a package name is available on npm and bower

Install

$ npm install --save pkg-name

Usage

var pkgName = require('pkg-name');
 
pkgName('chalk', function (err, available) {
    console.log(available);
    //=> {npm: false, bower: false}
});

CLI

$ npm install --global pkg-name
$ pkg-name --help

  Usage
    $ pkg-name <name>

  Examples
    $ bower-name multiline
    ✖ Unavailable
    $ bower-name unicorn-cake
    ✔ Available

License

MIT © Sindre Sorhus

Package Sidebar

Install

npm i pkg-name

Weekly Downloads

17

Version

2.0.0

License

MIT

Unpacked Size

4.11 kB

Total Files

5

Last publish

Collaborators

  • sindresorhus