zx
Version:
A tool for writing better scripts
105 lines (103 loc) • 1.18 kB
JavaScript
;
import "./deno.js"
import * as __module__ from "./index.cjs"
const {
VERSION,
YAML,
argv,
dotenv,
echo,
expBackoff,
fetch,
fs,
glob,
globby,
minimist,
nothrow,
parseArgv,
question,
quiet,
retry,
sleep,
spinner,
stdin,
tempdir,
tempfile,
tmpdir,
tmpfile,
updateArgv,
version,
versions,
$,
Fail,
ProcessOutput,
ProcessPromise,
bus,
cd,
chalk,
defaults,
kill,
log,
os,
path,
ps,
quote,
quotePowerShell,
resolveDefaults,
syncProcessCwd,
useBash,
usePowerShell,
usePwsh,
which,
within
} = globalThis.Deno ? globalThis.require("./index.cjs") : __module__
export {
VERSION,
YAML,
argv,
dotenv,
echo,
expBackoff,
fetch,
fs,
glob,
globby,
minimist,
nothrow,
parseArgv,
question,
quiet,
retry,
sleep,
spinner,
stdin,
tempdir,
tempfile,
tmpdir,
tmpfile,
updateArgv,
version,
versions,
$,
Fail,
ProcessOutput,
ProcessPromise,
bus,
cd,
chalk,
defaults,
kill,
log,
os,
path,
ps,
quote,
quotePowerShell,
resolveDefaults,
syncProcessCwd,
useBash,
usePowerShell,
usePwsh,
which,
within
}