github:https://github.com/shelljs/shelljs
使用起来比较简单
//example
const shell = require('shelljs')
shell.mkdir('./test')
shell.cd('./test')
shell.touch('hello.js')
shell.exec( "echo console.log('hello world') >> hello.js")
shell.exec('node ../test/hello.js')
//output:hello world