New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

is-missing

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-missing

Check that given `name` or `user/repo` exists in npm registry or in github as user repository.

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

npm standard style build status coverage status deps status

Check that given name or user/repo exists in npm registry or in github as user repository.

Install

npm i is-missing --save
npm test
is-missing --help

Usage

For more use-cases see the tests

var isMissing = require('is-missing')

isMissing('some-no-existing-npm-package-name', function _cb(err, bool) {
  console.log(bool)
  //=> false
})

isMissing('mochajs/mocha', function _cb(err, bool) {
  console.log(bool)
  //=> true
})

isMissing('mochajs/not-existing-repository', function _cb(err, bool) {
  console.log(bool)
  //=> false
})

CLI

run is-missing --help or try this one

npm i is-missing -g

is-missing not-existing-npm-package-name

  Aloha, master! How r u today?

  ✔ Oh yes, not-existing-npm-package-name will be yours.

  • abbrev-kindof: kind-of with single letter abbreviations to javascript native types, like… more
  • detect-installed: Checks that given package name is installed locally (in current… more
  • get-installed-path: Get the installation path of the given package if it… more
  • is-installed: Checks that given package is installed on the system… more
  • is-kindof: Thin wrapper around kind-of and in bonus functional api.
  • npm-pkgs: List user npm packages from the npmjs.com
  • online-branch-exist: Check that given branch/tag/release exist in github repo, using… more

Author

Charlike Mike Reagent

License MIT license

Copyright (c) 2015 Charlike Mike Reagent, contributors.
Released under the MIT license.

Proudly generated by docks(1) on May 9, 2015.

Keywords

check

FAQs

Package last updated on 05 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts