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
`)
}
Execute commands in node.js
<script type="module">
import xecute from 'https://cdn.skypack.dev/xecute';
</script>
Execute commands in node.js
npm i -S @gzzhanghao/x
import x from '@gzzhanghao/x'
export async function build(opts) {
await x(`
run-any-cmd --with-args ${x.e.SOME_ENV_VARIABLE}
like makefile
`)
}