{"id":13818231,"url":"https://github.com/rousan/git-npm","last_synced_at":"2026-03-12T08:37:24.228Z","repository":{"id":66269507,"uuid":"141802482","full_name":"rousan/git-npm","owner":"rousan","description":"Tool for lazy developers, run npm commands directly through git and be more lazy :sunglasses:","archived":false,"fork":false,"pushed_at":"2018-07-21T19:04:45.000Z","size":354,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-28T14:43:16.748Z","etag":null,"topics":["developer","git","indolent","lazy","npm","run","sloth"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/rousan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2018-07-21T10:23:53.000Z","updated_at":"2021-05-07T15:58:29.000Z","dependencies_parsed_at":"2023-05-03T11:17:26.724Z","dependency_job_id":null,"html_url":"https://github.com/rousan/git-npm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rousan%2Fgit-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rousan%2Fgit-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rousan%2Fgit-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rousan%2Fgit-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rousan","download_url":"https://codeload.github.com/rousan/git-npm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225387175,"owners_count":17466371,"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":["developer","git","indolent","lazy","npm","run","sloth"],"created_at":"2024-08-04T07:00:36.393Z","updated_at":"2026-03-12T08:37:24.189Z","avatar_url":"https://github.com/rousan.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://github.com/rousan/git-npm\"\u003e\n    \u003cimg src=\"https://github.com/rousan/git-npm/raw/master/logo.png\" width=\"400\" alt=\"git-npm\" title=\"git-npm\" /\u003e\n  \u003c/a\u003e\n\u003c/h3\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n[![NPM version](https://img.shields.io/npm/v/git-plus-npm.svg)](https://www.npmjs.com/package/git-plus-npm)\n[![NPM total downloads](https://img.shields.io/npm/dt/git-plus-npm.svg)](https://www.npmjs.com/package/git-plus-npm)\n[![Contributors](https://img.shields.io/github/contributors/rousan/git-npm.svg)](https://github.com/rousan/git-npm/graphs/contributors)\n[![License](https://img.shields.io/github/license/rousan/git-npm.svg)](https://github.com/rousan/git-npm/blob/master/LICENSE)\n\n# What is it?\n\nAs we use `git` frequently to manage our *Web projects*, it is common to make a mistake to mix `npm` commands with `git` e.g. we mistakenly type\n`git install` instead of `npm install` or `git start` instead of `npm start` etc.\n\nThen here this tool comes to solve these issues: now you can run any `npm` command directly through `git` command e.g. run `git install` to install npm *node modules*\nor run `git test` to run *test cases* or even run `git start` to start the *server*, you don't need to switch from `git` to `npm`, **JUST BE LAZY 😎**.\n\n\u003e Run npm commands through git\n\n## How does it work?\n\nIt just adds `aliases` for every npm commands to git and it doesn't affect the existing git commands, so you are good to go.\n\n## Installation\n\nInstall it from npm registry:\n\n```bash\nnpm install -g git-plus-npm\n```\n\n## Usage\n\nAfter installing the tool, you are ready use npm commands through git:\n\n### Run `git install` instead of `npm install`\n\n\u003cimg src=\"https://github.com/rousan/git-npm/raw/master/git-install.png\" alt=\"git install\" title=\"git install\" /\u003e\n\n### Run `git i` instead of `npm i`\n\n\u003cimg src=\"https://github.com/rousan/git-npm/raw/master/git-i.png\" alt=\"git i\" title=\"git i\" /\u003e\n\n### Run `git test` instead of `npm test`\n\n\u003cimg src=\"https://github.com/rousan/git-npm/raw/master/git-test.png\" alt=\"git test\" title=\"git test\" /\u003e\n\n### Run `git start` instead of `npm start`\n\n\u003cimg src=\"https://github.com/rousan/git-npm/raw/master/git-start.png\" alt=\"git start\" title=\"git start\" /\u003e\n\n## Supported Commands\n\nThe following `npm` commands can be run through `git`:\n\n* access\n* adduser\n* audit\n* bin\n* bugs\n* c\n* cache\n* ci\n* cit\n* completion\n* create\n* ddp\n* dedupe\n* deprecate\n* dist-tag\n* docs\n* doctor\n* edit\n* explore\n* get\n* help-search\n* hook\n* i\n* isntall\n* install\n* install-test\n* it\n* link\n* list\n* ln\n* login\n* logout\n* ls\n* outdated\n* owner\n* pack\n* ping\n* prefix\n* profile\n* prune\n* publish\n* rb\n* rebuild\n* repo\n* restart\n* root\n* run\n* run-script\n* s\n* se\n* search\n* set\n* shrinkwrap\n* star\n* stars\n* start\n* stop\n* t\n* team\n* test\n* token\n* tst\n* un\n* uninstall\n* r\n* unlink\n* remove\n* unpublish\n* unstar\n* up\n* update\n* v\n* view\n* whoami\n\n## Contributing\n\nYour PRs and stars are always welcome.\n\nCheckout the [CONTRIBUTING](https://github.com/rousan/git-npm/blob/master/CONTRIBUTING.md) guides.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frousan%2Fgit-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frousan%2Fgit-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frousan%2Fgit-npm/lists"}