1.1.0 • Published 2 years ago

npm-from-past v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

npm-from-past

Run npm/yarn commands as if you were in the past. Useful if you lost a lock file or need to install a dependency in a legacy project that hasn't been updated in a while.

Install

npm install -g npm-from-past

Usage as registry-server wrapper

Start registry server:

npm-from-past 2019-07-20 --server --port 10001

Use it with npm commands:

NPM_CONFIG_REGISTRY=http://localhost:10001 npm install

Usage as command wrapper

Run npm install as if you were back in 2016-05-06:

npm-from-past 2016-05-06 npm install redux

Check latest version which was at the time:

npm-from-past 2016-05-06 npm show redux version

Use any other npm-commands in the same way. If you have any troubles, try to switch to registry-server.

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago