1.0.8 • Published 8 months ago

npm-registry-time-machine v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

NPM registry time machine

Proxy for limiting the release dates of packages.

Installation

npm install -g npm-registry-time-machine

Usage

Run proxy:

npx 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.

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago