0.3.1 • Published 4 years ago

prawner v0.3.1

Weekly downloads
64
License
MIT
Repository
github
Last release
4 years ago

prawner

Spawn shell commands with Promises.

Installation

$ npm install prawner

Usage

const prawner = require('prawner');

await prawner('uname -sm'); // 'Linux x86_64'

await prawner('foobar').catch(err => {
  // Error: '/bin/sh: foobar: command not found'
});

License

This software is released under the terms of the MIT license. See LICENSE.