@kiyoshiro/zx-lite
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

zx-lite

A light-weight version of google/zx

codecov

Usage

npm i -D @kiyoshiro/zx-lite

Write 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.mts

Features

  • 🔋 Run TS file only with this library(google/zx needs ts-node or other TS runner).

Readme

Keywords

none

Package Sidebar

Install

npm i @kiyoshiro/zx-lite

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

4.48 kB

Total Files

8

Last publish

Collaborators

  • k.kiyokawa