prawner

0.3.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.1
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.1
    3
  • 0.3.0
    0
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i prawner

Weekly Downloads

3

Version

0.3.1

License

MIT

Unpacked Size

4.05 kB

Total Files

4

Last publish

Collaborators

  • gavinhungry