https://github.com/nodef/extra-npm
Common utility commands for npm packages.
https://github.com/nodef/extra-npm
cli clone console extra help init npm push rev-parse terminal
Last synced: 4 months ago
JSON representation
Common utility commands for npm packages.
- Host: GitHub
- URL: https://github.com/nodef/extra-npm
- Owner: nodef
- License: mit
- Created: 2018-07-21T17:13:12.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-04-08T17:10:38.000Z (about 1 year ago)
- Last Synced: 2025-07-05T06:53:03.351Z (11 months ago)
- Topics: cli, clone, console, extra, help, init, npm, push, rev-parse, terminal
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/extra-npm
- Size: 450 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Common utility commands for [npm] packages.
:package: [NPM](https://www.npmjs.com/package/extra-npm),
:smiley_cat: [GitHub](https://github.com/orgs/nodef/packages?repo_name=extra-npm),
:scroll: [Files](https://unpkg.com/extra-npm/),
:blue_book: [Wiki](https://github.com/nodef/extra-npm/wiki/).
Do you want to?
- Clone NPM package to local or GitHub?
- Initialize Node.js reporitory on GitHub?
- Push changes to both Git and NPM?
- Get root package path?
- Search for packages, with special fields?
- Validate Node.js package fields?
- View registry info about a package?
- Locate a program or locally installed node module executable?
This is an extension of [npm] with some commonly used commands. Some
improvements are still needed here. You can install this with
`npm install -g extra-npm`.
> Stability: Experimental.
```bash
enpm [command] [options]
# all existing commands of npm supported
# push change to git, npm
$ enpm push "commit message"
# clone all versions of "package" to local
$ enpm clone -a package
# install "package"
$ enpm install package
```
## Index
| Command | Action |
| --------------- | ---------------------------- |
| [clone] | Clones NPM package to local or remote. |
| [help] | Prints usage details of a command. |
| [init] | Initializes a Node.js repository. |
| [push] | Pushes changes to both Git and NPM. |
| [rev-parse] | Picks out and massages parameters. |
| [search] | Searches for packages. |
| [validate] | Validates Node.js package field. |
| [view] | Views registry info about a package. |
| [which] | Locates a program or locally installed node module executable. |
## References
- [Get path of current script when executed through a symlink](https://unix.stackexchange.com/a/17500/166668)
[](https://www.youtube.com/watch?v=d0PkB45Hda4)

[npm]: https://en.wikipedia.org/wiki/Npm_(software)
[clone]: https://github.com/nodef/extra-npm/wiki/clone
[help]: https://github.com/nodef/extra-npm/wiki/help
[init]: https://github.com/nodef/extra-npm/wiki/init
[push]: https://github.com/nodef/extra-npm/wiki/push
[rev-parse]: https://github.com/nodef/extra-npm/wiki/rev-parse
[search]: https://github.com/nodef/extra-npm/wiki/search
[validate]: https://github.com/nodef/extra-npm/wiki/validate
[view]: https://github.com/nodef/extra-npm/wiki/view
[which]: https://github.com/nodef/extra-npm/wiki/which