National Pest Management

pkg-name

1.0.2 • Public • Published

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

install

npm i pkg-name

Downloadsweekly downloads

2

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability