tldr/pages/common/npx.md

17 lines
339 B
Markdown
Raw Normal View History

2018-01-06 13:19:04 +00:00
# npx
> Execute binaries from `npm` packages.
> More information: <https://github.com/npm/npx>.
2018-01-06 13:19:04 +00:00
- Execute the binary from a given npm module:
`npx {{module_name}}`
- In case a package has multiple binaries, specify the package name along with the binary:
`npx -p {{package_name}} {{module_name}}`
- View help contents:
`npx --help`