Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

promisify-bash

AlexWang198720MIT1.0.9

The library aims to execute commands in local terminal (/bin/bin on Mac cmd.exe on Window) in promisifing ways.

promisify-bash

readme

promisify-bash

The library aims to execute commands in local terminal (/bin/bin on Mac cmd.exe on Window) in promisifing ways.

usage

var bash = require('promisify-bash');

bash('git branch')
  .then(function(d){
    console.log(d);
  })
  .catch(function(e){
    console.log(e);
  })

Good Library Companions