UNPKG

@hyperse/exec-program

Version:

Executes a command using `file ...arguments`, supports `.ts` file for esm type module.

2 lines 276 B
import {execa}from'execa';function p(e,r,t){return execa(e,r,t)}var c=(e,r,t)=>execa("node",["--import","@hyperse/ts-node/register","--no-warnings"].concat(e,...r||[]),t);export{p as execute,c as runTsScript};//# sourceMappingURL=index.js.map //# sourceMappingURL=index.js.map