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

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.9.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

npm_registry_time_machine-1.0.9-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

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