| 
				
					 | 
			há 2 anos atrás | |
|---|---|---|
| .. | ||
| node_modules | há 2 anos atrás | |
| History.md | há 2 anos atrás | |
| LICENSE.txt | há 2 anos atrás | |
| README.md | há 2 anos atrás | |
| index.d.ts | há 2 anos atrás | |
| index.js | há 2 anos atrás | |
| package.json | há 2 anos atrás | |
📢📢📢📢📢 You should use execa instead. 📢📢📢📢
Run script easy!
$ npm install runscript
const runScript = require('runscript');
runScript('node -v', { stdio: 'pipe' })
  .then(stdio => {
    console.log(stdio);
  })
  .catch(err => {
    console.error(err);
  });
Run user script for a maximum of 10 seconds.
const runScript = require('runscript');
runScript('node user-script.js', { stdio: 'pipe' }, { timeout: 10000 })
  .then(stdio => {
    console.log(stdio);
  })
  .catch(err => {
    console.error(err);
  });
fengmk2  | 
lusyn  | 
walkthunder  | 
popomore  | 
ottomao  | 
atian25  | 
|---|
This project follows the git-contributor spec, auto updated at Fri May 20 2022 10:00:09 GMT+0800.