xecute

Execute commands in node.js

Usage no npm install needed!

<script type="module">
  import xecute from 'https://cdn.skypack.dev/xecute';
</script>

README

X

Execute commands in node.js

Installation

npm i -S @gzzhanghao/x

Usage

import x from '@gzzhanghao/x'

export async function build(opts) {
  await x(`
    run-any-cmd --with-args ${x.e.SOME_ENV_VARIABLE}
    like makefile
  `)
}