1.0.0 • Published 9 years ago
exists-on-npm v1.0.0
exists-on-npm
Create a promise for whether an npm module exists
npm install --save exists-on-npm
'use strict';
var existsOnNpm = require('exists-on-npm');
existsOnNpm('zealous-octo-succotash').then(function(exists) {
console.log(exists); // false (at time of writing)
});
1.0.0
9 years ago