这是indexloc提供的服务,不要输入任何密码
Skip to content

egoist/then-exec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

then-exec NPM version NPM downloads Build Status

Promisify child_promise's exec method

Install

$ npm install --save then-exec

Usage

const exec = require('then-exec')

exec('ls -A')
	.then(({error, stdout, stderr}) => {
		// your code
	})

License

MIT © EGOIST

About

Promisify child_promise's exec method

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published