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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file npm-registry-time-machine-1.0.9.tar.gz
.
File metadata
- Download URL: npm-registry-time-machine-1.0.9.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e6c3fa10d7d68ec085f1abbd813fb5c2353fc26955b39b97b933448c44f4522 |
|
MD5 | 284c989fc398e3163d471e1f1b1f9492 |
|
BLAKE2b-256 | 29d1855f1b1dd11b9fed8de579e459670397d25cbefda703c1793db6f67a0b4e |
File details
Details for the file npm_registry_time_machine-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: npm_registry_time_machine-1.0.9-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01e5d582e904767c942c3660c3810e78df393fbc7c195e8852d3790f2490eb75 |
|
MD5 | 3bff6871bb7b5365615d796fb2f4d790 |
|
BLAKE2b-256 | fa71fd68181ae41bf46355115757b88834dad6022775885734f4619f5c204411 |