@appgeist/exec

Utility function to execute a shell command and return a Promise

Usage no npm install needed!

<script type="module">
  import appgeistExec from 'https://cdn.skypack.dev/@appgeist/exec';
</script>

README

@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.