Socket
Book a DemoInstallSign in
Socket

co-execfile

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

co-execfile

execFile() wrapper for 'co'

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

co-execFile

Node core execFile() wrapped to return a thunk for co.

Installation

$ npm install co-execFile

Example

Do some stuff with git:

var co = require('co');
var exec = require('co-exec');

co(function *(){
  var result = yield execFile('~/myscript.sh');
  console.log('the result of myscript is %s', result);
});

License

MIT

Keywords

async

FAQs

Package last updated on 02 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts