{"id":18043276,"url":"https://github.com/fallenmax/npm-cache-install","last_synced_at":"2025-04-05T02:43:19.842Z","repository":{"id":70179023,"uuid":"48413828","full_name":"FallenMax/npm-cache-install","owner":"FallenMax","description":"accelerate `npm install` by caching dependency","archived":false,"fork":false,"pushed_at":"2016-11-01T08:09:27.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T02:43:15.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/npm-cache-install","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/FallenMax.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-22T06:09:17.000Z","updated_at":"2016-11-01T08:09:28.000Z","dependencies_parsed_at":"2023-05-23T00:00:20.205Z","dependency_job_id":null,"html_url":"https://github.com/FallenMax/npm-cache-install","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.33333333333333337","last_synced_commit":"70cc2619d85246613cb292854d22c4d90fce2b09"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallenMax%2Fnpm-cache-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallenMax%2Fnpm-cache-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallenMax%2Fnpm-cache-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallenMax%2Fnpm-cache-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FallenMax","download_url":"https://codeload.github.com/FallenMax/npm-cache-install/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280181,"owners_count":20912965,"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-10-30T17:07:54.459Z","updated_at":"2025-04-05T02:43:19.821Z","avatar_url":"https://github.com/FallenMax.png","language":"JavaScript","readme":"[DEPRECATED] Just use [Yarn](https://yarnpkg.com/) instead.\n\n# npm-cache-install\n\nOffline `npm install`, using locally cached packages.\n\nThe idea is based on [npm-cache](https://github.com/swarajban/npm-cache), but instead of caching whole `node_modules` directory, `npm-cache-install` will cache each package seperately, so changing any of them will not invalidate whole cache.\n\nAlso, any npm options will be passed to `npm install` (like `--registry`, etc.)\n\n## Usage:\n\n### 1. npm-cache-install install [options]\n\nRun it instead of `npm install [options]`, it will:\n\n- read `package.json`, get a list of dependencies\n- for each dependency\n  + if already installed and satisfies specified version, continue\n  + if cached in cache directory (`~/.npm-cache-install`), restore to `./node_modules/[dependency]`, continue\n  + actually runs `npm install dependency@version [options]`,\n  + save installed package to cache directory\n\n### 2. npm-cache-install clean\n\n`rm -rf` cache directory for you.\n\n\n## Caveat:\n\n1. Windows is not supported for now\n2. Does not differentiate node version and node architecture (if node version changes, please clean cache directory manually)\n3. Bad support for `peerDependency`, which might cause problems.\n4. Not tested with npm@3\n\nIssues and PRs are welcomed\n\n\n## History\n\n#### 2016-03-15 `0.1.0`\n\n- add: 'clean' command\n- fix: git/github/http(s) dependencies support\n- fix: problem when handling intallation failure\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffallenmax%2Fnpm-cache-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffallenmax%2Fnpm-cache-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffallenmax%2Fnpm-cache-install/lists"}