1.0.3 • Published 7 years ago

node-seq-exec v1.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

node-seq-exec

A small package which assists with executing shell commands in sequence in node.js

installation

$ npm install node-seq-exec

usage

with callback

const seriesExec = require('node-seq-exec');

seriesExec([
  'command 1',
  'command 2',
], (error) => {
  if (error) {
    console.error(error);
  }
});

with promise

const seriesExec = require('node-seq-exec');

seriesExec([
  'command 1',
  'command 2',
]).catch(console.error);
1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago