All Projects → fabiandev → Node Exec Promise

fabiandev / Node Exec Promise

Licence: mit
Execute commands from Node.js and get a Promise back.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Node Exec Promise

Start
🔴 Functional task runner for Node.js
Stars: ✭ 478 (+9460%)
Mutual labels:  promise
Phridge
A bridge between node and PhantomJS
Stars: ✭ 526 (+10420%)
Mutual labels:  promise
Fetch
A window.fetch JavaScript polyfill.
Stars: ✭ 25,118 (+502260%)
Mutual labels:  promise
Asyncro
⛵️ Beautiful Array utilities for ESnext async/await ~
Stars: ✭ 487 (+9640%)
Mutual labels:  promise
Node Serialport
Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
Stars: ✭ 5,015 (+100200%)
Mutual labels:  promise
Posterus
Composable async primitives with cancelation, control over scheduling, and coroutines. Superior replacement for JS Promises.
Stars: ✭ 536 (+10620%)
Mutual labels:  promise
React Hooks Async
React custom hooks for async functions with abortability and composability
Stars: ✭ 459 (+9080%)
Mutual labels:  promise
Node Fetch
A light-weight module that brings the Fetch API to Node.js
Stars: ✭ 7,176 (+143420%)
Mutual labels:  promise
Atomic
A tiny, Promise-based vanilla JS Ajax/HTTP plugin with great browser support.
Stars: ✭ 526 (+10420%)
Mutual labels:  promise
P Map
Map over promises concurrently
Stars: ✭ 639 (+12680%)
Mutual labels:  promise
Axios Auth Refresh
Library that helps you implement automatic refresh of authorization via axios interceptors. You can easily intercept the original request when it fails, refresh the authorization and continue with the original request, without user even noticing.
Stars: ✭ 502 (+9940%)
Mutual labels:  promise
Thunks
A small and magical composer for all JavaScript asynchronous.
Stars: ✭ 523 (+10360%)
Mutual labels:  promise
Headless Chrome Crawler
Distributed crawler powered by Headless Chrome
Stars: ✭ 5,129 (+102480%)
Mutual labels:  promise
Websocket As Promised
A Promise-based API for WebSockets
Stars: ✭ 485 (+9600%)
Mutual labels:  promise
Rapid.js
An ORM-like Interface and a Router For Your API Requests
Stars: ✭ 700 (+13900%)
Mutual labels:  promise
Opossum
Node.js circuit breaker - fails fast ⚡️
Stars: ✭ 473 (+9360%)
Mutual labels:  promise
Proxymise
Chainable Promise Proxy
Stars: ✭ 537 (+10640%)
Mutual labels:  promise
Wx Promise Pro
✨强大、优雅的微信小程序异步库🚀
Stars: ✭ 762 (+15140%)
Mutual labels:  promise
Awaitkit
The ES8 Async/Await control flow for Swift
Stars: ✭ 709 (+14080%)
Mutual labels:  promise
Post Robot
Cross domain post-messaging on the client side using a simple listener/client pattern.
Stars: ✭ 619 (+12280%)
Mutual labels:  promise

node-exec-promise

Installation

npm install --save node-exec-promise

Example Usage

var exec = require('node-exec-promise').exec;

exec('ls -lah /tmp').then(function(out) {
  console.log(out.stdout, out.stderr);
}, function(err) {
  console.error(err);
});

Example Gulp Usage

var execFile = require('node-exec-promise').execFile;

gulp.task('example', function(done) {
  execFile('ls', ['-lah', '/tmp']).then(function(out) {
    done();
  }, function(err) {
    // handle error
  });
});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].