@appgeist/exec

Utility function to execute a shell command and return a Promise


Keywords
utilities, shell, exec, promise, nodejs, server-side
License
ISC
Install
npm install @appgeist/exec@1.1.3

Documentation

@appgeist/exec

NPM version License

Utility function to execute a shell command and return a Promise.

Usage

const exec = require("@appgeist/exec");

const result = await exec(`
  identify
    -format "%[fx:w/h]"
    catz-picture.jpg
`);

License

The ISC License.