npm.io
1.0.2 • Published 11 years agoCLI

atom-name

Licence
MIT
Version
1.0.2
Deps
3
Vulns
1
Weekly
0

atom-name Build Status

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

Keywords