no-official-npm-registry
CLI tool that verifies npm package version
Last updated 8 months ago by 2oo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install no-official-npm-registry 
SYNC missed versions from official npm registry.

no-official-npm-registry

npm version Build Status Dependencies License


If you're using private registries (like verdaccio) in your work environment you probably don't want to fetch dependencies from the official one. This tools verifies that no dependency in your project is fetched fromregistry.npmjs.org.


Usage

Use this command from a root directory of a project to be verified:

$ npx no-official-npm-registry

You will receive non-zero exit code if any dependency in your lockfile (or npm-shrinkwrap.json) is resolved from official npm registry.

Also you can install this tool globally with npm install --global no-official-npm-registry

If installed globally, no-official-npm-registry will be available as a CLI command.

You can check against different registry by defining NPM_UNWANTED_REGISTRY environment variable.

Current Tags

  • 1.0.4                                ...           latest (8 months ago)

3 Versions

  • 1.0.4                                ...           8 months ago
  • 1.0.3                                ...           8 months ago
  • 1.0.0                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |