exists-on-npm

1.0.0 • Public • Published

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)
});

/exists-on-npm/

    Package Sidebar

    Install

    npm i exists-on-npm

    Weekly Downloads

    5

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • voltrevo