Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 503 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 503 Bytes

global-npx

NPM version

Run npx commands from within a Nodejs application

Usage

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