An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# global-npx

[![NPM version](https://badge.fury.io/js/global-npx.svg)](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)