Execa wrapper exposing tagged templates APIs
npm install execa-extraExeca wrapper exposing tagged templates
APIs
``sh`
npm install execa-extra
`js
import { $ } from 'execa-extra'
const { stdout } = await $echo 'Hello world'
console.log(stdout)
`
`js
import { $ } from 'execa-extra'
const { stdout } = $.syncecho 'Hello world'
console.log(stdout)
`
`js
import { $ } from 'execa-extra'
await $({ stdio: 'inherit' })echo 'Hello world'`
> See the execa documentation
> for details on the available options
`js
import { $ } from 'execa-extra'
await $({ stdio: 'inherit', shell: true })echo 'Hello world' | wc -w`
> See the execa documentation
> for details on the available options
`js
import { $ } from 'execa-extra'
const my$ = $({ stdio: 'inherit', shell: true })
await my$echo 'Hello world' | wc -w``
> See the execa documentation
> for details on the available options