atom-name
v1.0.2
Published
Check whether an atom package name is available.
Downloads
3
Maintainers
Readme
atom-name
Check whether an atom package name is available.
Install
$ npm install --save atom-name
Usage
var atomName = require('atom-name');
atomName('open-terminal', function(err, available) {
console.log(available);
//=> false
});
CLI
$ npm install --global atom-name
$ npm-name --help
Usage
npm-name <name>
Exits with exit code 0 when available or 2 when taken.
License
MIT © Daniel Chatfield