{"id":21831348,"url":"https://github.com/nodef/extra-npm","last_synced_at":"2026-02-23T18:05:33.749Z","repository":{"id":57112453,"uuid":"141831936","full_name":"nodef/extra-npm","owner":"nodef","description":"Common utility commands for npm packages.","archived":false,"fork":false,"pushed_at":"2025-04-08T17:10:38.000Z","size":461,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T06:53:03.351Z","etag":null,"topics":["cli","clone","console","extra","help","init","npm","push","rev-parse","terminal"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/extra-npm","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/nodef.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-07-21T17:13:12.000Z","updated_at":"2025-04-08T17:10:42.000Z","dependencies_parsed_at":"2024-10-06T13:25:42.328Z","dependency_job_id":"4abba5f0-976d-4734-b83a-1d3d5e1b3e8f","html_url":"https://github.com/nodef/extra-npm","commit_stats":{"total_commits":305,"total_committers":3,"mean_commits":"101.66666666666667","dds":"0.013114754098360604","last_synced_commit":"a9403dbe21d305d5a77df101509cdb372afcbae9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nodef/extra-npm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodef","download_url":"https://codeload.github.com/nodef/extra-npm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodef%2Fextra-npm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266236669,"owners_count":23897222,"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":["cli","clone","console","extra","help","init","npm","push","rev-parse","terminal"],"created_at":"2024-11-27T19:09:47.731Z","updated_at":"2026-02-23T18:05:28.729Z","avatar_url":"https://github.com/nodef.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Common utility commands for [npm] packages.\u003cbr\u003e\n:package: [NPM](https://www.npmjs.com/package/extra-npm),\n:smiley_cat: [GitHub](https://github.com/orgs/nodef/packages?repo_name=extra-npm),\n:scroll: [Files](https://unpkg.com/extra-npm/),\n:blue_book: [Wiki](https://github.com/nodef/extra-npm/wiki/).\n\nDo you want to?\u003cbr\u003e\n- Clone NPM package to local or GitHub?\n- Initialize Node.js reporitory on GitHub?\n- Push changes to both Git and NPM?\n- Get root package path?\n- Search for packages, with special fields?\n- Validate Node.js package fields?\n- View registry info about a package?\n- Locate a program or locally installed node module executable?\n\nThis is an extension of [npm] with some commonly used commands. Some\nimprovements are still needed here. You can install this with\n`npm install -g extra-npm`.\n\n\u003e Stability: Experimental.\n\n\u003cbr\u003e\n\n```bash\nenpm [command] [options]\n# all existing commands of npm supported\n\n# push change to git, npm\n$ enpm push \"commit message\"\n\n# clone all versions of \"package\" to local\n$ enpm clone -a package\n\n# install \"package\"\n$ enpm install package\n```\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## Index\n\n| Command         | Action                       |\n| --------------- | ---------------------------- |\n| [clone] | Clones NPM package to local or remote. |\n| [help] | Prints usage details of a command. |\n| [init] | Initializes a Node.js repository. |\n| [push] | Pushes changes to both Git and NPM. |\n| [rev-parse] | Picks out and massages parameters. |\n| [search] | Searches for packages. |\n| [validate] | Validates Node.js package field. |\n| [view] | Views registry info about a package. |\n| [which] | Locates a program or locally installed node module executable. |\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## References\n\n- [Get path of current script when executed through a symlink](https://unix.stackexchange.com/a/17500/166668)\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n[![](https://img.youtube.com/vi/d0PkB45Hda4/maxresdefault.jpg)](https://www.youtube.com/watch?v=d0PkB45Hda4)\n![](https://ga-beacon.deno.dev/G-RC63DPBH3P:SH3Eq-NoQ9mwgYeHWxu7cw/github.com/nodef/extra-npm)\n\n[npm]: https://en.wikipedia.org/wiki/Npm_(software)\n[clone]: https://github.com/nodef/extra-npm/wiki/clone\n[help]: https://github.com/nodef/extra-npm/wiki/help\n[init]: https://github.com/nodef/extra-npm/wiki/init\n[push]: https://github.com/nodef/extra-npm/wiki/push\n[rev-parse]: https://github.com/nodef/extra-npm/wiki/rev-parse\n[search]: https://github.com/nodef/extra-npm/wiki/search\n[validate]: https://github.com/nodef/extra-npm/wiki/validate\n[view]: https://github.com/nodef/extra-npm/wiki/view\n[which]: https://github.com/nodef/extra-npm/wiki/which\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodef%2Fextra-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodef%2Fextra-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodef%2Fextra-npm/lists"}