tcommand

0.0.1 • Public • Published

TCommand

A simple command tool;

Function

run(cmd: string):[stdout, stderr, stack?];
check(cmd: string):boolean;

Install

npm install tcommand -Save

Usage

    const tcommand = require('tcommand');
    const { stdout, sderr } = await tcommand.run('node -v');

Liscence

MIT

Readme

Keywords

Package Sidebar

Install

npm i tcommand

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

43.9 kB

Total Files

7

Last publish

Collaborators

  • tonghuang