{"id":13818104,"url":"https://github.com/UD-UD/npm-safe-install","last_synced_at":"2025-05-15T22:34:46.158Z","repository":{"id":44221323,"uuid":"128605440","full_name":"UD-UD/npm-safe-install","owner":"UD-UD","description":"A node cli that performs npm install in a safe manner such the locally linked modules are not removed during install","archived":false,"fork":false,"pushed_at":"2025-05-15T19:49:19.000Z","size":1840,"stargazers_count":22,"open_issues_count":23,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T20:40:54.997Z","etag":null,"topics":["javascript","npm","npm-install"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/npm-safe-install","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UD-UD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2018-04-08T06:16:29.000Z","updated_at":"2025-04-17T19:49:59.000Z","dependencies_parsed_at":"2024-08-04T07:01:22.207Z","dependency_job_id":"3300320c-ceea-4c2b-b43a-0e906b8e9a17","html_url":"https://github.com/UD-UD/npm-safe-install","commit_stats":{"total_commits":30,"total_committers":4,"mean_commits":7.5,"dds":"0.19999999999999996","last_synced_commit":"0089e8d9a5009589bc9ac2ceb01acf3f8770650e"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UD-UD%2Fnpm-safe-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UD-UD%2Fnpm-safe-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UD-UD%2Fnpm-safe-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UD-UD%2Fnpm-safe-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UD-UD","download_url":"https://codeload.github.com/UD-UD/npm-safe-install/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254422298,"owners_count":22068670,"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":["javascript","npm","npm-install"],"created_at":"2024-08-04T07:00:32.507Z","updated_at":"2025-05-15T22:34:44.030Z","avatar_url":"https://github.com/UD-UD.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/UD-UD/npm-safe-install/master/demo.gif\" alt=\"Safe npm install\"\u003e\n    \u003cbr\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n[![Build Status](https://travis-ci.org/UD-UD/npm-safe-install.svg?branch=develop)](https://travis-ci.org/UD-UD/npm-safe-install)\n[![NPM version](https://img.shields.io/npm/v/npm-safe-install.svg)](https://www.npmjs.com/package/npm-safe-install)\n[![Required Node version](https://img.shields.io/node/v/npm-safe-install.svg)](https://www.npmjs.com/package/npm-safe-install)\n[![NPM total downloads](https://img.shields.io/npm/dt/npm-safe-install.svg)](https://www.npmjs.com/package/npm-safe-install)\n[![Contributors](https://img.shields.io/github/contributors/UD-UD/npm-safe-install.svg)](https://github.com/UD-UD/npm-safe-install/graphs/contributors)\n[![License](https://img.shields.io/github/license/UD-UD/npm-safe-install.svg)](https://github.com/UD-UD/npm-safe-install/blob/master/LICENSE)\n\n# npm-safe-install\n\nA cli utility that performs npm install in a safe manner such the locally linked modules are re-linked after installation\n\n## Getting Started\n\nThese instructions will get your a copy of the project up and running on your local machine.\n\n### Prerequisites\n\n```\nnode \u003e= 8.4.0\n```\n\n### Installing\n\nInstall `npm-safe-install` globally by running the following command:\n\n```bash\nnpm install -g npm-safe-install\n```\n\n## Usage\nYou can run the module by using any of the following command : \n* `npm-safe-install`\n* `nsi`\n\nWhen you run this utility ,it searches for the linked projects and rebuilds any broken links.\n\nAlternatively you can create a `.nsi.json` in the root directory and list all the submodules in form of an array \n\n```json\n// example\n[\n    \"module-1\",\n    \"module-2\"\n]\n```\nThe utility will rebuild the links for the submodules specified in this file.\n\n### Options \nThis utility has the following options :\n\n```bash\n# run nsi in current directory\nnsi\n\n# install npm packages\nnsi package-1 package-2\n\n# run nsi in target folder\nnsi -t \u003ctarget folder path\u003e\n\n# install npm package in target path\nnsi -t \u003ctarget folder path\u003e package-1 package-2\n\n# check version\nnsi -v\n\n# list all options\nnsi -h \n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUD-UD%2Fnpm-safe-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FUD-UD%2Fnpm-safe-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUD-UD%2Fnpm-safe-install/lists"}