Skip to content
Compare
Choose a tag to compare

5.1.0

@antonmedv antonmedv released this
· 181 commits to main since this release
59e9121
Compare
Choose a tag to compare

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`