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
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
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
Rapid.js
An ORM-like Interface and a Router For Your API Requests
Stars: ✭ 700 (+13900%)
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].