{"id":23842498,"url":"https://github.com/InfinityEOL/package-installer","last_synced_at":"2025-09-07T18:32:04.509Z","repository":{"id":189274808,"uuid":"622442507","full_name":"Infinity-Development/package-installer","owner":"Infinity-Development","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-02T10:01:36.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-08-19T05:27:34.950Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Infinity-Development.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":"InfinityBotList"}},"created_at":"2023-04-02T05:46:27.000Z","updated_at":"2023-08-19T05:27:40.996Z","dependencies_parsed_at":"2023-08-19T05:27:39.678Z","dependency_job_id":"4a9ffb11-a213-4542-9ea3-002ae43a55ef","html_url":"https://github.com/Infinity-Development/package-installer","commit_stats":null,"previous_names":["infinity-development/package-installer"],"tags_count":2,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infinity-Development%2Fpackage-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infinity-Development%2Fpackage-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infinity-Development%2Fpackage-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Infinity-Development%2Fpackage-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Infinity-Development","download_url":"https://codeload.github.com/Infinity-Development/package-installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232241127,"owners_count":18493595,"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":"2025-01-02T18:39:08.752Z","updated_at":"2025-09-07T18:31:59.200Z","avatar_url":"https://github.com/Infinity-Development.png","language":"TypeScript","funding_links":["https://github.com/sponsors/InfinityBotList"],"categories":[],"sub_categories":[],"readme":"# @infinitybots/installer\n\n[![Prettier](https://github.com/Infinity-Development/package-installer/actions/workflows/prettier.yml/badge.svg)](https://github.com/Infinity-Development/package-installer/actions/workflows/prettier.yml) [![verify](https://github.com/Infinity-Development/package-installer/actions/workflows/verify.yaml/badge.svg)](https://github.com/Infinity-Development/package-installer/actions/workflows/verify.yaml)\n\n\u003e [npm-shrinkwrap](https://docs.npmjs.com/cli/v9/commands/npm-shrinkwrap) based NPM Package Installer for the Infinity Bot List Packages\n\n---\n\n## What\n\n`@infinitybots/installer` uses `npm-shrinkwrap` and points your `package-lock.json` at [npm](https://www.npmjs.com/)\ntarballs checked into your project's source control, so you can install while offline, during a registry outage, or \nduring the next [left-pad incident](https://blog.npmjs.org/post/141577284765/kik-left-pad-and-npm.html).\n\n## How\n\n1. Read `package-lock.json` or `npm-shrinkwrap.json`.\n1. Download the exact same .tgz files that `npm install` fetches from\n   [registry.npmjs.org](https://registry.npmjs.org).\n1. Decompress the .tgz files into .tar files. This avoids storing binary files\n   in Git and removes the cost of decompression during `npm install`.\n1. Store the .tar files in your project at `node_infinity/*.tar`.\n1. Rewrite `package-lock.json` to point at those instead of the registry.\n\nNow your project can be installed while completely offline:\n\n```diff\n- npm install\n+ npm ci --offline\n```\n\nThe rest of the npm installation process is exactly the same. The only\ndifference is that no network activity is necessary when installing and building\nyour project. The `node_infinity` directory can be ignored in your editor\n(much like is done with the `node_modules` directory), but is instead checked\ninto source control.\n\n--- \n\n## Installation\n\n\u003e Requires npm@7 or higher.\n\n### Install Base Module\n```\nnpm install --global @infinitybots/installer\n```\n\n### Generate npm-shrinkwrap.json\n```\nnpm shrinkwrap\n```\n\n## Usage\n\nRun `infinity` every time you have modified and installed your dependencies to\nproduce a new `package-lock.json`.\n\n```\nUsage: infinity [options] [directory]\n\nOptions:\n  -V, --version  output the version number\n  -h, --help     display help for command\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInfinityEOL%2Fpackage-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FInfinityEOL%2Fpackage-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInfinityEOL%2Fpackage-installer/lists"}