@kiyoshiro/zx-lite
v0.0.1
Published
A light-weight version of google/zx
Downloads
22
Readme
zx-lite
A light-weight version of google/zx
Usage
npm i -D @kiyoshiro/zx-liteWrite your script in .mts file.
// script.mts
import "@kiyoshiro/zx-lite/globals"
// Look. Different from google/zx, you can omit `await`
$`echo Hello, world!`
await sleep(1000)Run your script.
npx zx script.mtsFeatures
- 🔋 Run TS file only with this library(google/zx needs ts-node or other TS runner).
