All Projects → mozilla-b2g → npm-mirror

mozilla-b2g / npm-mirror

Licence: MPL-2.0 license
DEPRECATED - A utility for mirroring a subset of npm packages from another npm registry

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to npm-mirror

iris firefox
DEPRECATED - Test Suite for Firefox using Mozilla Iris
Stars: ✭ 41 (+7.89%)
Mutual labels:  abandoned, unmaintained
homeassistant-coronavirus-hessen
[Unmaintained] Home Assistant component to scrape the current SARS-CoV-2 data for the German state of Hessen from the website of the Hessisches Ministerium für Soziales und Integration.
Stars: ✭ 15 (-60.53%)
Mutual labels:  abandoned, unmaintained
busybox
DEPRECATED - Fork of git://android.git.linaro.org/platform/external/busybox.git
Stars: ✭ 40 (+5.26%)
Mutual labels:  abandoned, unmaintained
i2c-tools
DEPRECATED - git conversion of http://lm-sensors.org/svn/i2c-tools subversion repo.
Stars: ✭ 34 (-10.53%)
Mutual labels:  abandoned, unmaintained
rescuefox
DEPRECATED - demo game to drive 3D engine creation: rescue your pet space fox!
Stars: ✭ 35 (-7.89%)
Mutual labels:  abandoned, unmaintained
b2g-installer
DEPRECATED - Tools to easily flash b2g on your android phone
Stars: ✭ 27 (-28.95%)
Mutual labels:  abandoned, unmaintained
oauthorizer
DEPRECATED - Enable easy use of oauth for other addons
Stars: ✭ 26 (-31.58%)
Mutual labels:  abandoned, unmaintained
markup
DEPRECATED - This projects has been retired.
Stars: ✭ 25 (-34.21%)
Mutual labels:  abandoned, unmaintained
web-forward
DEPRECATED - Innovation acceleration program from Mozilla Labs
Stars: ✭ 17 (-55.26%)
Mutual labels:  abandoned, unmaintained
rilproxy
DEPRECATED
Stars: ✭ 21 (-44.74%)
Mutual labels:  abandoned, unmaintained
socialapi-dev
DEPRECATED - Experimental support for a Social API in Firefox
Stars: ✭ 41 (+7.89%)
Mutual labels:  abandoned, unmaintained
Gaia
DEPRECATED - Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see
Stars: ✭ 2,091 (+5402.63%)
Mutual labels:  abandoned, unmaintained
lumbergh
DEPRECATED - Whaaaat's happening? Careers website... Mmmkay?
Stars: ✭ 19 (-50%)
Mutual labels:  abandoned, unmaintained
Hasal
DEPRECATED - A Framework for testing web performance between different browser
Stars: ✭ 30 (-21.05%)
Mutual labels:  abandoned, unmaintained
mozilla-download
DEPRECATED - Download firefox / b2g-desktop / mulet
Stars: ✭ 15 (-60.53%)
Mutual labels:  abandoned, unmaintained
iris
DEPRECATED - A Python 3 automation test tool for desktop applications
Stars: ✭ 18 (-52.63%)
Mutual labels:  abandoned, unmaintained
B2GOS-community
DEPRECATED - Tasks management for the B2G OS working groups
Stars: ✭ 11 (-71.05%)
Mutual labels:  abandoned, unmaintained
valgrind
DEPRECATED - git-svn copy of the valgrind subversion repo. Firefox OS specific patches applied in "fxos" branch.
Stars: ✭ 22 (-42.11%)
Mutual labels:  abandoned, unmaintained
page-metadata-service
DEPRECATED - A RESTful service that returns the metadata about a given URL.
Stars: ✭ 18 (-52.63%)
Mutual labels:  abandoned, unmaintained
elmo
DEPRECATED - Elmo ~ https://mozilla.github.io/elmo/
Stars: ✭ 32 (-15.79%)
Mutual labels:  abandoned, unmaintained

npm-mirror

Build Status

npm-mirror is a utility for mirroring a subset of npm packages from another npm registry. It syncs all of the dependencies for a particular node module and writes them to the local filesystem so that a simple webserver can behave like a commonjs compliant package registry.

Notable Caveats

  • Your webserver must be configured to map root requests to index.json files (like bin/npm-server).
  • Git repos will not be synced

Getting Started

npm install -g npm-mirror

DEBUG=* npm-mirror \
  --master http://registry.npmjs.org \
  --manifests /absolute/path/to/target/package.json,/and/another/package.json \
  --hostname http://secret-npm-mirror.com \
  --root /absolute/path/to/download/packages/

// Start webserver rooted in packages directory
// For example...
npm-server --port 80 --path /absolute/path/to/download/packages/

// Give it a whirl
cd /path/to/target
npm install --registry http://secret-npm-mirror.com

A Word About Arguments

master

a fully qualified url for the master registry's root

manifests

a comma separated list of fully qualifed filesystem paths to or http urls for manifest files (ie https://npmjs.org/doc/json.html)

hostname

a fully qualifed url at which the mirrored packages will be served

root

a fully qualifed path for where to put downloaded packages

Test Suite

make test runs the test suite. Unit tests live in test/unit and integration tests live in test/integration. In order for the integration tests to run successfully, you must be connected to the Internet since packages will be downloaded from http://registry.npmjs.org.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].