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.11.tar.gz (3.5 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.11-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for npm_registry_time_machine-1.0.11.tar.gz
Algorithm Hash digest
SHA256 786877a35d21bcd84e81159ed1b68b2eeeaf6ba57a93c19e1407811f6729a1c9
MD5 7993367e439436af932a52ad40b54f01
BLAKE2b-256 25f9371e16ea09e55087b7b0f4d4b90d1298dd6db756331bc3a85c08e45a9531

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for npm_registry_time_machine-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 2ccbd2bb635cc1c8ee60d363ebeacaf87bedcd9d909373fc30e046a9d078f79c
MD5 12afa58ffa0faebe81e7755bd051767a
BLAKE2b-256 919f593067876a7700918071b0311f79aa03cb4e9b44fe9c6fafaeea8d6a06c3

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