vamtiger-bash
Programmatically execute bash scripts.
Last updated 2 years ago by vamtiger-project .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install vamtiger-bash 
SYNC missed versions from official npm registry.

VAMTIGER Bash

Programmatically execute bash scripts.

Installation

VAMTIGER Bash can be installed using npm or yarn:

npm install --save vamtiger-bash

or

yarn add vamtiger-bash

Usage

Import or require a referece to VAMTIGER Bash:

import bash from 'vamtiger-bash';

or

const bash = require('vamtiger-bash').default;

Executing a bash script returns a Promise:

bash('some bash code')
    .then(handleResult)
    .catch(handleError);

Since VAMTIGER Bash returns a Promise, the result can be more conveniently referenced within an async function:

async someAsyncFunction function() {
    const bashResult = await bash('some bash code');
}

Current Tags

  • 0.0.25                                ...           latest (2 years ago)

20 Versions

  • 0.0.25                                ...           2 years ago
  • 0.0.24                                ...           2 years ago
  • 0.0.23                                ...           2 years ago
  • 0.0.22                                ...           2 years ago
  • 0.0.21                                ...           2 years ago
  • 0.0.20                                ...           2 years ago
  • 0.0.18                                ...           2 years ago
  • 0.0.17                                ...           2 years ago
  • 0.0.16                                ...           2 years ago
  • 0.0.15                                ...           2 years ago
  • 0.0.14                                ...           2 years ago
  • 0.0.11                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 21
This Month 22
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (10)

Copyright 2014 - 2016 © taobao.org |