@travist/async-shell

1.5.0 • Public • Published

async-shell

A super simple async shell for Node.js

Installation

You can install this package using NPM.

npm install @travist/async-shell

Usage

You can use this library in Node.js within an async/await function.

const shell = require('@travist/async-shell');

// Must be within an async function.
(async () => {
    const output = await shell('git status');
    console.log(output);
})();

Readme

Keywords

none

Package Sidebar

Install

npm i @travist/async-shell

Weekly Downloads

2

Version

1.5.0

License

MIT

Unpacked Size

2.77 kB

Total Files

4

Last publish

Collaborators

  • travist