Sign inSign up

ealen/zx

By ealen

Updated almost 4 years ago

Docker image of ZX, a tool for writing better scripts

Image
0

3.7K

ealen/zx repository overview

ZX

GitHub stars GitHub issues DockerHub

Bash is great, but when it comes to writing more complex scripts, many people prefer a more convenient programming language. JavaScript is a perfect choice, but the Node.js standard library requires additional hassle before using. The zx package provides useful wrappers around child_process, escapes arguments and gives sensible defaults.

Related to https://github.com/google/zx

Platforms

Use

docker run -it --rm ealen/zx
Example
# From volume
docker run -it --rm -v $PWD:/scripts zx /scripts/xxx.mjs
/scripts zx xxx.mjs
# From VI
docker run -it --rm -v $PWD:/scripts
/scripts vi xxx.mjs
/scripts zx xxx.mjs

Tag summary

Content type

Image

Digest

sha256:942abe13b

Size

55.6 MB

Last updated

almost 4 years ago

docker pull ealen/zx