1.1.0 • Published 4 years ago

simple-exe v1.1.0

Weekly downloads
5
License
ISC
Repository
-
Last release
4 years ago

simple-exe

Simple, easy command executor. No settings needed.

Installation

$ npm install simple-exe

Usage

Command String format:

var exe = require("simple-exe");
exe("echo Hello World!", err => {
    if (err) {
        console.log("Error with code:", err);
        throw err;
    }
    // ...
});

Simple-exe uses space to separate arguments, which means, if your argument contains spaces, you cannot just execute it in String format.

Command Array format:

exe(["echo", "Hello World!"], err => {
    // ...
});
1.1.0

4 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago