{"id":21009000,"url":"https://github.com/avin/npm-from-past","last_synced_at":"2025-05-15T02:32:51.072Z","repository":{"id":57717212,"uuid":"526717865","full_name":"avin/npm-from-past","owner":"avin","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-21T21:54:31.000Z","size":61,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T20:47:30.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-19T18:44:54.000Z","updated_at":"2023-05-28T06:44:44.000Z","dependencies_parsed_at":"2022-08-24T11:10:20.857Z","dependency_job_id":null,"html_url":"https://github.com/avin/npm-from-past","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Fnpm-from-past","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Fnpm-from-past/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Fnpm-from-past/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avin%2Fnpm-from-past/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avin","download_url":"https://codeload.github.com/avin/npm-from-past/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225324104,"owners_count":17456460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T09:15:05.814Z","updated_at":"2024-11-19T09:15:06.566Z","avatar_url":"https://github.com/avin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-from-past\n\nRun npm/yarn commands as if you were in the past. Useful if you lost a lock file\nor need to install a dependency in a legacy project that hasn't been updated in a while.\n\n## Install\n\n```sh\nnpm install -g npm-from-past\n```\n\n## Usage as registry-server\n\nStart registry server:\n\n```sh\nnpm-from-past 2019-07-20 --server --port 10001\n```\n\nUse it with npm commands:\n\n```sh\nNPM_CONFIG_REGISTRY=http://localhost:10001 npm install\n```\n\n## Usage as command wrapper\n\nRun `npm install` as if you were back in `2016-05-06`:\n\n```sh\nnpm-from-past 2016-05-06 npm install redux\n```\n\nCheck latest version which was at the time:\n\n```sh\nnpm-from-past 2016-05-06 npm show redux version\n```\n\nUse any other npm-commands in the same way. If you have any troubles, try to switch to registry-server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favin%2Fnpm-from-past","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favin%2Fnpm-from-past","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favin%2Fnpm-from-past/lists"}