Skip to main content

Proxy for limiting the release dates of packages

Project description

NPM registry time machine

Proxy for limiting the release dates of packages.

Usage

Run proxy:

npm-registry-time-machine --port 3000 --registry https://registry.npmjs.org --timeout 120 --max-date 2022-02-02 --trusted-packages jsx-add-data-test-id

Set proxy as registry:

npm config set registry http://127.0.0.1:3000

Now all packages with a release date exceeding the maximum date are hidden for npm.

How it works

This tool is a proxy between npm and the registry. The proxy receives requests from npm and sends them to the registry. Information about packages with a release date exceeding the maximum date is removed from the response. After that, the response is returned to npm. Therefore, npm uses only those packages that were released no later than the maximum date.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

npm_registry_time_machine-1.0.10.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

npm_registry_time_machine-1.0.10-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file npm_registry_time_machine-1.0.10.tar.gz.

File metadata

File hashes

Hashes for npm_registry_time_machine-1.0.10.tar.gz
Algorithm Hash digest
SHA256 830c27cfc39c4d7a4b11ffd995ea5e7ab46f87bd3b175538c6e44ac856fad07e
MD5 62bd2b8de5c9bdb551cf0410bf0ebb03
BLAKE2b-256 88fb7f2030440c4a24db55a15ce1b1dc0705cb287cf16d60fd400f2501d81dea

See more details on using hashes here.

File details

Details for the file npm_registry_time_machine-1.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for npm_registry_time_machine-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 8d8edf75d9e603a9d0658ce6b4bb1b7b89c766248030ab38d0b9bb9ecfec321c
MD5 43cd1e1f872e2e458d7a79afd45c8b9e
BLAKE2b-256 563141a515fecd0403c441ce9f9fad6f44bfa12b1d01121432d74b02b80f99ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page