MyGit

5.1.0

google/zx

版本发布时间: 2022-02-17 03:31:27

google/zx最新发布版本:8.1.4(2024-07-04 18:44:34)

98a9abb Added new experimental retry & echo functions. f8bb1c7 Fixed bug where running script without extension removes existing .mjs files (#276). 792370a Increased maxBuffer to 200 MiB. 7fafa26 Added known issues doc.

Example:

import {echo, retry} from 'zx/experimental'

let branch = await $`git branch --show-current`
echo`Current branch is ${branch}.`

let {stdout} = await retry(5)`curl localhost`

相关地址:原始地址 下载(tar) 下载(zip)

查看:2022-02-17发行的版本