https://github.com/aurbano/global-npx
Run npx commands from within a Nodejs application
https://github.com/aurbano/global-npx
node nodejs npx
Last synced: 7 months ago
JSON representation
Run npx commands from within a Nodejs application
- Host: GitHub
- URL: https://github.com/aurbano/global-npx
- Owner: aurbano
- License: mit
- Created: 2019-09-02T19:51:20.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-02T20:18:43.000Z (about 6 years ago)
- Last Synced: 2024-04-29T21:16:51.999Z (over 1 year ago)
- Topics: node, nodejs, npx
- Language: JavaScript
- Homepage: https://aurbano.github.io/global-npx
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# global-npx
[](https://www.npmjs.com/package/global-npx)
Run npx commands from within a Nodejs application
## Usage
```js
import npx from 'global-npx';npx('create-react-app');
```## Why?
I once needed to download and run npm packages from within a node app. And remembering that npx already has all the required logic for that this seemed like the easiest way to do it...
Inspired by [global-npm](https://github.com/dracupid/global-npm)