New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

registry-sync

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

registry-sync

Synchronizes selected packages and their transitive dependencies from a remote NPM registry (such as https://registry.npmjs.org) to a local folder. The local copy can then be used as a simple private NPM registry without publishing capabilities.

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
45
increased by114.29%
Maintainers
1
Weekly downloads
 
Created
Source

registry-sync

Synchronizes selected packages and their transitive dependencies from a remote NPM registry (such as https://registry.npmjs.org) to a local folder. The local copy can then be used as a simple private NPM registry without publishing capabilities.

Inspired by https://www.npmjs.com/package/npm-mirror, which unfortunately seems to be in hibernation and not compatible with the current registry.npmjs.org

Installation

npm install -g npm-mirror

Usage

Usage: bin/sync [options]

Options:

-h, --help           output usage information
-V, --version        output the version number
--root <path>        Path to save NPM package tarballs and metadata to
--manifest <file>    Path to a package.json file to use as catalog for mirrored NPM packages. Their transitive (production) dependencies are mirrored as well.
--localUrl <url>     URL to use as root in stored package metadata (i.e. where folder defined as --root will be exposed at)
--registryUrl [url]  URL to use as NPM registry when fetching packages (defaults to https://registry.npmjs.org)

Usage: bin/serve [options]

Options:

-h, --help       output usage information
-V, --version    output the version number
--root <path>    Path to serve NPM packages from
--port [number]  Local HTTP port to bind the server to (defaults to 3000)

Configure your web server to use index.json as index file name instead of index.html.

Keywords

FAQs

Package last updated on 30 Aug 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc