is-taken
Check if an NPM package name is taken.
Last updated 4 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install is-taken 
SYNC missed versions from official npm registry.

is-taken NPM version NPM downloads Build Status

Check if an NPM package name is taken.

Install

$ npm install --save is-taken

Usage

const isTaken = require('is-taken')

// version is optional
isTaken('webpack', {version: 'x.x.x'})
	.then(taken => {
		if (taken) {
			console.log(`${taken.name} is taken ????`)
		} else {
			console.log('Cheers! it belongs to you! ????')
		}
	})

License

MIT © EGOIST

Current Tags

  • 1.0.1                                ...           latest (4 years ago)

6 Versions

  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 2
Dependencies (3)
Dev Dependencies (2)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |