{"_id":"@antongolub/zx","_rev":"6-90d9906e5965b0727869f24b94e39227","name":"@antongolub/zx","dist-tags":{"beta":"8.0.0-beta.4","latest":"8.0.0-beta.6"},"versions":{"8.0.0-beta.0":{"name":"@antongolub/zx","version":"8.0.0-beta.0","description":"A tool for writing better scripts","type":"module","main":"./build/index.js","types":"./build/index.d.ts","typesVersions":{"*":{".":["./build/index.d.ts"],"globals":["./build/globals.d.ts"],"experimental":["./build/experimental.d.ts"],"cli":["./build/cli.d.ts"],"core":["./build/core.d.ts"]}},"exports":{".":"./build/index.js","./globals":"./build/globals.js","./experimental":"./build/experimental.js","./cli":"./build/cli.js","./core":"./build/core.js","./package.json":"./package.json"},"bin":{"zx":"build/cli.js"},"engines":{"node":">= 16.0.0"},"scripts":{"fmt":"prettier --write .","fmt:check":"prettier --check .","build":"npm run build:js && npm run build:dts","build:check":"tsc","build:js":"node scripts/build-js.mjs --format=esm --entry=src/*.ts && npm run build:vendor","build:vendor":"node scripts/build-js.mjs --format=esm --entry=src/vendor.ts --bundle=all --banner","build:dts":"tsc --project tsconfig.prod.json && node scripts/build-dts.mjs","test":"npm run build && node ./test/all.test.js","test:types":"tsd","coverage":"c8 -x build/vendor.js -x 'test/**' -x scripts --check-coverage npm test","mutation":"stryker run","circular":"madge --circular src/*","version":"cat package.json | fx .version","publish:beta":"yarn build && npm publish --no-git-tag-version --tag beta"},"dependencies":{"@types/fs-extra":"^11.0.4","@types/node":">=20.11.19"},"devDependencies":{"@types/ps-tree":"^1.1.6","@types/minimist":"^1.2.5","@types/which":"^3.0.3","@stryker-mutator/core":"^6.4.2","c8":"^7.13.0","chalk":"^5.3.0","dts-bundle-generator":"^9.3.1","esbuild":"^0.20.1","esbuild-node-externals":"^1.13.0","esbuild-plugin-entry-chunks":"^0.1.8","fs-extra":"^11.2.0","fx":"*","globby":"^14.0.1","madge":"^6.1.0","minimist":"^1.2.8","node-fetch":"3.3.2","prettier":"^2.8.8","ps-tree":"^1.2.0","tsd":"^0.28.1","typescript":"^5.0.4","webpod":"^0","which":"^3.0.0","yaml":"^2.3.4"},"publishConfig":{"_registry":"https://wombat-dressing-room.appspot.com","access":"public"},"prettier":{"semi":false,"singleQuote":true,"endOfLine":"lf"},"repository":{"type":"git","url":"git+https://github.com/google/zx.git"},"author":{"name":"Anton Medvedev","email":"anton@medv.io"},"license":"Apache-2.0","_id":"@antongolub/zx@8.0.0-beta.0","gitHead":"793f6ef5eb1a30ae18fa5496f84f9030785a8385","bugs":{"url":"https://github.com/google/zx/issues"},"homepage":"https://github.com/google/zx#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-bES9yjw2POPWheqjn0d4/FIqzQ5Xe/gflN5L68eFepzzHEi3ahKsrZtQEkOhA7yxWCFmwI59aasKrJWrmw/goQ==","shasum":"7239627e3211509c55f970673495136918be1f7f","tarball":"https://registry.npmjs.org/@antongolub/zx/-/zx-8.0.0-beta.0.tgz","fileCount":23,"unpackedSize":917975,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID67mOhXDuAgsYJK5zAH82vyZMA3YaRBbY08ZGY0InEJAiBZsKVwh1bJK9SalAxVkvxacrIenxlbMfVAG/PiD1vPJg=="}]},"_npmUser":{"name":"antongolub","email":"golub.anton@gmail.com"},"directories":{},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zx_8.0.0-beta.0_1708760315875_0.6979379108524486"},"_hasShrinkwrap":false},"8.0.0-beta.1":{"name":"@antongolub/zx","version":"8.0.0-beta.1","description":"A tool for writing better scripts","type":"module","main":"./build/index.js","types":"./build/index.d.ts","typesVersions":{"*":{".":["./build/index.d.ts"],"globals":["./build/globals.d.ts"],"experimental":["./build/experimental.d.ts"],"cli":["./build/cli.d.ts"],"core":["./build/core.d.ts"]}},"exports":{".":"./build/index.js","./globals":"./build/globals.js","./experimental":"./build/experimental.js","./cli":"./build/cli.js","./core":"./build/core.js","./package.json":"./package.json"},"bin":{"zx":"build/cli.js"},"engines":{"node":">= 16.0.0"},"scripts":{"fmt":"prettier --write .","fmt:check":"prettier --check .","build":"npm run build:js && npm run build:dts","build:check":"tsc","build:js":"node scripts/build-js.mjs --format=esm --entry=src/*.ts && npm run build:vendor","build:vendor":"node scripts/build-js.mjs --format=esm --entry=src/vendor.ts --bundle=all --banner","build:dts":"tsc --project tsconfig.prod.json && node scripts/build-dts.mjs","test":"npm run build && node ./test/all.test.js","test:types":"tsd","coverage":"c8 -x build/vendor.js -x 'test/**' -x scripts --check-coverage npm test","mutation":"stryker run","circular":"madge --circular src/*","version":"cat package.json | fx .version","publish:beta":"yarn build && npm publish --no-git-tag-version --tag beta"},"dependencies":{"@types/fs-extra":"^11.0.4","@types/node":">=20.11.19"},"devDependencies":{"@types/ps-tree":"^1.1.6","@types/minimist":"^1.2.5","@types/which":"^3.0.3","@stryker-mutator/core":"^6.4.2","c8":"^7.13.0","chalk":"^5.3.0","dts-bundle-generator":"^9.3.1","esbuild":"^0.20.1","esbuild-node-externals":"^1.13.0","esbuild-plugin-entry-chunks":"^0.1.8","fs-extra":"^11.2.0","fx":"*","globby":"^14.0.1","madge":"^6.1.0","minimist":"^1.2.8","node-fetch":"3.3.2","prettier":"^2.8.8","ps-tree":"^1.2.0","tsd":"^0.28.1","typescript":"^5.0.4","webpod":"^0","which":"^3.0.0","yaml":"^2.3.4"},"publishConfig":{"_registry":"https://wombat-dressing-room.appspot.com","access":"public"},"prettier":{"semi":false,"singleQuote":true,"endOfLine":"lf"},"repository":{"type":"git","url":"git+https://github.com/google/zx.git"},"author":{"name":"Anton Medvedev","email":"anton@medv.io"},"license":"Apache-2.0","_id":"@antongolub/zx@8.0.0-beta.1","readme":"<h1><img src=\"https://google.github.io/zx/img/logo.svg\" alt=\"Zx logo\" height=\"32\" valign=\"middle\"> zx</h1>\n\n```js\n#!/usr/bin/env zx\n\nawait $`cat package.json | grep name`\n\nlet branch = await $`git branch --show-current`\nawait $`dep deploy --branch=${branch}`\n\nawait Promise.all([\n  $`sleep 1; echo 1`,\n  $`sleep 2; echo 2`,\n  $`sleep 3; echo 3`,\n])\n\nlet name = 'foo bar'\nawait $`mkdir /tmp/${name}`\n```\n\nBash is great, but when it comes to writing more complex scripts,\nmany people prefer a more convenient programming language.\nJavaScript is a perfect choice, but the Node.js standard library\nrequires additional hassle before using. The `zx` package provides\nuseful wrappers around `child_process`, escapes arguments and\ngives sensible defaults.\n\n## Install\n\n```bash\nnpm install zx\n```\n\n## Documentation\n\nRead documentation on [google.github.io/zx](https://google.github.io/zx/).\n\n## License\n\n[Apache-2.0](LICENSE)\n\nDisclaimer: _This is not an officially supported Google product._\n","readmeFilename":"README.md","gitHead":"793f6ef5eb1a30ae18fa5496f84f9030785a8385","bugs":{"url":"https://github.com/google/zx/issues"},"homepage":"https://github.com/google/zx#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-/Cb3WJpjkywpc+vFxTnb6FYh7vj0zzokavyHLYBIENbMz59zfcA8McQwYSNQBotQ9UplE7cn0oMC+oguV1mrWA==","shasum":"5cb032ae9ee0146de20d98aaf83c146756581a8c","tarball":"https://registry.npmjs.org/@antongolub/zx/-/zx-8.0.0-beta.1.tgz","fileCount":23,"unpackedSize":917985,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJlNhPxFE/U7rP+CkSybrfQBgwmNwicp3IK4VC6/lHzAIgImcApjMFOufo76s393mkqHQDcGDxrFfhkA1S2rJDPCo="}]},"_npmUser":{"name":"antongolub","email":"golub.anton@gmail.com"},"directories":{},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zx_8.0.0-beta.1_1708762517340_0.6453115519225225"},"_hasShrinkwrap":false},"8.0.0-beta.2":{"name":"@antongolub/zx","version":"8.0.0-beta.2","description":"A tool for writing better scripts","type":"module","main":"./build/index.js","types":"./build/index.d.ts","typesVersions":{"*":{".":["./build/index.d.ts"],"globals":["./build/globals.d.ts"],"experimental":["./build/experimental.d.ts"],"cli":["./build/cli.d.ts"],"core":["./build/core.d.ts"]}},"exports":{".":"./build/index.js","./globals":"./build/globals.js","./experimental":"./build/experimental.js","./cli":"./build/cli.js","./core":"./build/core.js","./package.json":"./package.json"},"bin":{"zx":"build/cli.js"},"engines":{"node":">= 16.0.0"},"scripts":{"fmt":"prettier --write .","fmt:check":"prettier --check .","build":"npm run build:js && npm run build:dts","build:check":"tsc","build:js":"node scripts/build-js.mjs --format=esm --entry=src/*.ts && npm run build:vendor","build:vendor":"node scripts/build-js.mjs --format=esm --entry=src/vendor.ts --bundle=all --banner --minify","build:dts":"tsc --project tsconfig.prod.json && node scripts/build-dts.mjs","test":"npm run build && node ./test/all.test.js","test:types":"tsd","coverage":"c8 -x build/vendor.js -x 'test/**' -x scripts --check-coverage npm test","mutation":"stryker run","circular":"madge --circular src/*","version":"cat package.json | fx .version","publish:beta":"yarn build && npm publish --no-git-tag-version --tag beta"},"dependencies":{"@types/fs-extra":"^11.0.4","@types/node":">=20.11.19"},"devDependencies":{"@types/ps-tree":"^1.1.6","@types/minimist":"^1.2.5","@types/which":"^3.0.3","@stryker-mutator/core":"^6.4.2","c8":"^7.13.0","chalk":"^5.3.0","dts-bundle-generator":"^9.3.1","esbuild":"^0.20.1","esbuild-node-externals":"^1.13.0","esbuild-plugin-entry-chunks":"^0.1.8","fs-extra":"^11.2.0","fx":"*","globby":"^14.0.1","madge":"^6.1.0","minimist":"^1.2.8","node-fetch":"3.3.2","prettier":"^2.8.8","ps-tree":"^1.2.0","tsd":"^0.28.1","typescript":"^5.0.4","webpod":"^0","which":"^3.0.0","yaml":"^2.3.4"},"publishConfig":{"_registry":"https://wombat-dressing-room.appspot.com","access":"public"},"prettier":{"semi":false,"singleQuote":true,"endOfLine":"lf"},"repository":{"type":"git","url":"git+https://github.com/google/zx.git"},"author":{"name":"Anton Medvedev","email":"anton@medv.io"},"license":"Apache-2.0","_id":"@antongolub/zx@8.0.0-beta.2","readme":"<h1><img src=\"https://google.github.io/zx/img/logo.svg\" alt=\"Zx logo\" height=\"32\" valign=\"middle\"> zx</h1>\n\n```js\n#!/usr/bin/env zx\n\nawait $`cat package.json | grep name`\n\nlet branch = await $`git branch --show-current`\nawait $`dep deploy --branch=${branch}`\n\nawait Promise.all([\n  $`sleep 1; echo 1`,\n  $`sleep 2; echo 2`,\n  $`sleep 3; echo 3`,\n])\n\nlet name = 'foo bar'\nawait $`mkdir /tmp/${name}`\n```\n\nBash is great, but when it comes to writing more complex scripts,\nmany people prefer a more convenient programming language.\nJavaScript is a perfect choice, but the Node.js standard library\nrequires additional hassle before using. The `zx` package provides\nuseful wrappers around `child_process`, escapes arguments and\ngives sensible defaults.\n\n## Install\n\n```bash\nnpm install zx\n```\n\n## Documentation\n\nRead documentation on [google.github.io/zx](https://google.github.io/zx/).\n\n## License\n\n[Apache-2.0](LICENSE)\n\nDisclaimer: _This is not an officially supported Google product._\n","readmeFilename":"README.md","gitHead":"f8c80eb37e1c8785139197b90faca8d8b288fa1d","bugs":{"url":"https://github.com/google/zx/issues"},"homepage":"https://github.com/google/zx#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-mqUYnCDHP26swrRwRlIylyssjjnH7newZDPNkyl9VjqBG5/fDJ4qGRsZ1w+HEynuJH+HHIFAfBCkBzcSLL6RBA==","shasum":"19b5c110bfb976d6c8012b48f6416cfb5e4b8e15","tarball":"https://registry.npmjs.org/@antongolub/zx/-/zx-8.0.0-beta.2.tgz","fileCount":23,"unpackedSize":424359,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD36aP5d9qRrnE6hOG9JeKUSvv1vNMlxCZA2FpfJL6GIgIhAMg5NvQdGyGmiIf0EhVEV1FCWkMzMXp0HJO1bIWB7M1H"}]},"_npmUser":{"name":"antongolub","email":"golub.anton@gmail.com"},"directories":{},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zx_8.0.0-beta.2_1708777019521_0.9242214947173275"},"_hasShrinkwrap":false},"8.0.0-beta.3":{"name":"@antongolub/zx","version":"8.0.0-beta.3","description":"A tool for writing better scripts","type":"module","main":"./build/index.js","types":"./build/index.d.ts","typesVersions":{"*":{".":["./build/index.d.ts"],"globals":["./build/globals.d.ts"],"experimental":["./build/experimental.d.ts"],"cli":["./build/cli.d.ts"],"core":["./build/core.d.ts"]}},"exports":{".":"./build/index.js","./globals":"./build/globals.js","./experimental":"./build/experimental.js","./cli":"./build/cli.js","./core":"./build/core.js","./package.json":"./package.json"},"bin":{"zx":"build/cli.js"},"engines":{"node":">= 16.0.0"},"scripts":{"fmt":"prettier --write .","fmt:check":"prettier --check .","build":"npm run build:js && npm run build:dts","build:check":"tsc","build:js":"node scripts/build-js.mjs --format=esm --entry=src/*.ts && npm run build:vendor","build:vendor":"node scripts/build-js.mjs --format=esm --entry=src/vendor.ts --bundle=all --banner --minify","build:dts":"tsc --project tsconfig.prod.json && node scripts/build-dts.mjs","test":"npm run build && node ./test/all.test.js","test:types":"tsd","coverage":"c8 -x build/vendor.js -x 'test/**' -x scripts --check-coverage npm test","mutation":"stryker run","circular":"madge --circular src/*","version":"cat package.json | fx .version","publish:beta":"yarn build && npm publish --no-git-tag-version --tag beta"},"optionalDependencies":{"@types/fs-extra":"^11.0.4","@types/node":">=20.11.19"},"devDependencies":{"@types/ps-tree":"^1.1.6","@types/minimist":"^1.2.5","@types/which":"^3.0.3","@stryker-mutator/core":"^6.4.2","c8":"^7.13.0","chalk":"^5.3.0","dts-bundle-generator":"^9.3.1","esbuild":"^0.20.1","esbuild-node-externals":"^1.13.0","esbuild-plugin-entry-chunks":"^0.1.8","fs-extra":"^11.2.0","fx":"*","globby":"^14.0.1","madge":"^6.1.0","minimist":"^1.2.8","node-fetch":"3.3.2","prettier":"^2.8.8","ps-tree":"^1.2.0","tsd":"^0.28.1","typescript":"^5.0.4","webpod":"^0","which":"^3.0.0","yaml":"^2.3.4"},"publishConfig":{"_registry":"https://wombat-dressing-room.appspot.com","access":"public"},"prettier":{"semi":false,"singleQuote":true,"endOfLine":"lf"},"repository":{"type":"git","url":"git+https://github.com/google/zx.git"},"author":{"name":"Anton Medvedev","email":"anton@medv.io"},"license":"Apache-2.0","_id":"@antongolub/zx@8.0.0-beta.3","readme":"<h1><img src=\"https://google.github.io/zx/img/logo.svg\" alt=\"Zx logo\" height=\"32\" valign=\"middle\"> zx</h1>\n\n```js\n#!/usr/bin/env zx\n\nawait $`cat package.json | grep name`\n\nlet branch = await $`git branch --show-current`\nawait $`dep deploy --branch=${branch}`\n\nawait Promise.all([\n  $`sleep 1; echo 1`,\n  $`sleep 2; echo 2`,\n  $`sleep 3; echo 3`,\n])\n\nlet name = 'foo bar'\nawait $`mkdir /tmp/${name}`\n```\n\nBash is great, but when it comes to writing more complex scripts,\nmany people prefer a more convenient programming language.\nJavaScript is a perfect choice, but the Node.js standard library\nrequires additional hassle before using. The `zx` package provides\nuseful wrappers around `child_process`, escapes arguments and\ngives sensible defaults.\n\n## Install\n\n```bash\nnpm install zx\n```\n\n## Documentation\n\nRead documentation on [google.github.io/zx](https://google.github.io/zx/).\n\n## License\n\n[Apache-2.0](LICENSE)\n\nDisclaimer: _This is not an officially supported Google product._\n","readmeFilename":"README.md","gitHead":"cf5d04360f9dca1edb16ce548e2052e7887c3613","bugs":{"url":"https://github.com/google/zx/issues"},"homepage":"https://github.com/google/zx#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-EuTxpzSH+cEKSMJFvNBQM13yZtEe11xeD0+9W+HVioxDb0TOpc/GQZo8Q62Ll4Sy/fltoNZOzEXOaARLqzhOsg==","shasum":"a460bc2f6ba8dc356fd407972569a72170d613a9","tarball":"https://registry.npmjs.org/@antongolub/zx/-/zx-8.0.0-beta.3.tgz","fileCount":23,"unpackedSize":424367,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA+Efvq1iMmxEDQqCOwCwqLIR2zc+Ox6yAobz/eo7yb/AiEAme+ojyPPOTPBS1gaOk9a47KUayp8uyUTu9ZeOhLyZVc="}]},"_npmUser":{"name":"antongolub","email":"golub.anton@gmail.com"},"directories":{},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zx_8.0.0-beta.3_1708777760083_0.43840829870162845"},"_hasShrinkwrap":false},"8.0.0-beta.4":{"name":"@antongolub/zx","version":"8.0.0-beta.4","description":"A tool for writing better scripts","type":"module","main":"./build/index.js","types":"./build/index.d.ts","typesVersions":{"*":{".":["./build/index.d.ts"],"globals":["./build/globals.d.ts"],"experimental":["./build/experimental.d.ts"],"cli":["./build/cli.d.ts"],"core":["./build/core.d.ts"]}},"exports":{".":"./build/index.js","./globals":"./build/globals.js","./experimental":"./build/experimental.js","./cli":"./build/cli.js","./core":"./build/core.js","./package.json":"./package.json"},"bin":{"zx":"build/cli.js"},"engines":{"node":">= 16.0.0"},"scripts":{"fmt":"prettier --write .","fmt:check":"prettier --check .","build":"npm run build:js && npm run build:dts","build:check":"tsc","build:js":"node scripts/build-js.mjs --format=esm --entry=src/*.ts && npm run build:vendor","build:vendor":"node scripts/build-js.mjs --format=esm --entry=src/vendor.ts --bundle=all --banner --minify","build:dts":"tsc --project tsconfig.prod.json && node scripts/build-dts.mjs","test":"npm run build && node ./test/all.test.js","test:types":"tsd","coverage":"c8 -x build/vendor.js -x 'test/**' -x scripts --check-coverage npm test","mutation":"stryker run","circular":"madge --circular src/*","version":"cat package.json | fx .version","publish:beta":"yarn build && npm publish --no-git-tag-version --tag beta"},"optionalDependencies":{"@types/fs-extra":"^11.0.4","@types/node":">=20.11.19"},"devDependencies":{"@types/fs-extra":"^11.0.4","@types/node":">=20.11.19","@types/ps-tree":"^1.1.6","@types/minimist":"^1.2.5","@types/which":"^3.0.3","@stryker-mutator/core":"^6.4.2","c8":"^7.13.0","chalk":"^5.3.0","dts-bundle-generator":"^9.3.1","esbuild":"^0.20.1","esbuild-node-externals":"^1.13.0","esbuild-plugin-entry-chunks":"^0.1.8","fs-extra":"^11.2.0","fx":"*","globby":"^14.0.1","madge":"^6.1.0","minimist":"^1.2.8","node-fetch":"3.3.2","prettier":"^2.8.8","ps-tree":"^1.2.0","tsd":"^0.28.1","typescript":"^5.0.4","webpod":"^0","which":"^3.0.0","yaml":"^2.3.4"},"publishConfig":{"_registry":"https://wombat-dressing-room.appspot.com","access":"public"},"prettier":{"semi":false,"singleQuote":true,"endOfLine":"lf"},"repository":{"type":"git","url":"git+https://github.com/google/zx.git"},"author":{"name":"Anton Medvedev","email":"anton@medv.io"},"license":"Apache-2.0","_id":"@antongolub/zx@8.0.0-beta.4","readme":"<h1><img src=\"https://google.github.io/zx/img/logo.svg\" alt=\"Zx logo\" height=\"32\" valign=\"middle\"> zx</h1>\n\n```js\n#!/usr/bin/env zx\n\nawait $`cat package.json | grep name`\n\nlet branch = await $`git branch --show-current`\nawait $`dep deploy --branch=${branch}`\n\nawait Promise.all([\n  $`sleep 1; echo 1`,\n  $`sleep 2; echo 2`,\n  $`sleep 3; echo 3`,\n])\n\nlet name = 'foo bar'\nawait $`mkdir /tmp/${name}`\n```\n\nBash is great, but when it comes to writing more complex scripts,\nmany people prefer a more convenient programming language.\nJavaScript is a perfect choice, but the Node.js standard library\nrequires additional hassle before using. The `zx` package provides\nuseful wrappers around `child_process`, escapes arguments and\ngives sensible defaults.\n\n## Install\n\n```bash\nnpm install zx\n```\n\n## Documentation\n\nRead documentation on [google.github.io/zx](https://google.github.io/zx/).\n\n## License\n\n[Apache-2.0](LICENSE)\n\nDisclaimer: _This is not an officially supported Google product._\n","readmeFilename":"README.md","gitHead":"36ec441af1d0e97c15f4eda77d67711f30b7240a","bugs":{"url":"https://github.com/google/zx/issues"},"homepage":"https://github.com/google/zx#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-ZH6mNz0p9CJEcu8z3gSMR0Y4YFp3TYbUYz6abke+opjuwBd7T8n5osfEVj6+Ydxzhy2pStxg+hbJx7Toh23h4w==","shasum":"3e7a28740146c602335332986442fce5a2e6374a","tarball":"https://registry.npmjs.org/@antongolub/zx/-/zx-8.0.0-beta.4.tgz","fileCount":23,"unpackedSize":424434,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc8gH/8KQXGJpiin0CLMCv/pugeixr+P8QjlmTe6PpDwIhAMIpKM5IJA3z63BtNcFrOcPkPyZePDRS0M9qB/+NsHJo"}]},"_npmUser":{"name":"antongolub","email":"golub.anton@gmail.com"},"directories":{},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zx_8.0.0-beta.4_1708778242493_0.206626428450011"},"_hasShrinkwrap":false},"8.0.0-beta.5":{"name":"@antongolub/zx","version":"8.0.0-beta.5","description":"A tool for writing better scripts","type":"module","main":"./build/index.js","types":"./build/index.d.ts","typesVersions":{"*":{".":["./build/index.d.ts"],"globals":["./build/globals.d.ts"],"experimental":["./build/experimental.d.ts"],"cli":["./build/cli.d.ts"],"core":["./build/core.d.ts"]}},"exports":{".":"./build/index.js","./globals":"./build/globals.js","./experimental":"./build/experimental.js","./cli":"./build/cli.js","./core":"./build/core.js","./package.json":"./package.json"},"bin":{"zx":"build/cli.js"},"engines":{"node":">= 16.0.0"},"scripts":{"fmt":"prettier --write .","fmt:check":"prettier --check .","build":"npm run build:js && npm run build:dts","build:check":"tsc","build:js":"node scripts/build-js.mjs --format=esm --entry=src/*.ts && npm run build:vendor","build:vendor":"node scripts/build-js.mjs --format=esm --entry=src/vendor.ts --bundle=all --banner --minify","build:dts":"tsc --project tsconfig.prod.json && node scripts/build-dts.mjs","test":"npm run build && node ./test/all.test.js","test:types":"tsd","coverage":"c8 -x build/vendor.js -x 'test/**' -x scripts --check-coverage npm test","mutation":"stryker run","circular":"madge --circular src/*","version":"cat package.json | fx .version","publish:beta":"yarn build && npm publish --no-git-tag-version --tag beta"},"optionalDependencies":{"@types/fs-extra":"^11.0.4","@types/node":">=20.11.19"},"devDependencies":{"@types/fs-extra":"^11.0.4","@types/node":">=20.11.19","@types/ps-tree":"^1.1.6","@types/minimist":"^1.2.5","@types/which":"^3.0.3","@stryker-mutator/core":"^6.4.2","c8":"^7.13.0","chalk":"^5.3.0","dts-bundle-generator":"^9.3.1","esbuild":"^0.20.1","esbuild-node-externals":"^1.13.0","esbuild-plugin-entry-chunks":"^0.1.8","fs-extra":"^11.2.0","fx":"*","globby":"^14.0.1","madge":"^6.1.0","minimist":"^1.2.8","node-fetch":"3.3.2","prettier":"^2.8.8","ps-tree":"^1.2.0","tsd":"^0.28.1","typescript":"^5.0.4","webpod":"^0","which":"^3.0.0","yaml":"^2.3.4"},"publishConfig":{"_registry":"https://wombat-dressing-room.appspot.com","access":"public"},"prettier":{"semi":false,"singleQuote":true,"endOfLine":"lf"},"repository":{"type":"git","url":"git+https://github.com/google/zx.git"},"author":{"name":"Anton Medvedev","email":"anton@medv.io"},"license":"Apache-2.0","_id":"@antongolub/zx@8.0.0-beta.5","gitHead":"36ec441af1d0e97c15f4eda77d67711f30b7240a","bugs":{"url":"https://github.com/google/zx/issues"},"homepage":"https://github.com/google/zx#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-f0ztEeSGNBzxkmJsV+VRmLPd/YzsHBJKLT2/Qq1flPUmloO3QcaTP65DvMF9j6aQDvax92hlmkZ77+lUySJ50A==","shasum":"14fcd58a5737cba25274d60b79980a280b484f40","tarball":"https://registry.npmjs.org/@antongolub/zx/-/zx-8.0.0-beta.5.tgz","fileCount":23,"unpackedSize":424434,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbPSrNyc6HMhhtWwHK56Nsj0KIw47ySsPiXR9TWk45DAIgIvCuUywAaPBzLDXwEF687LnwhRsvcSA2H2OJpeNx4TE="}]},"_npmUser":{"name":"antongolub","email":"golub.anton@gmail.com"},"directories":{},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zx_8.0.0-beta.5_1708778402778_0.47434500932526924"},"_hasShrinkwrap":false},"8.0.0-beta.6":{"name":"@antongolub/zx","version":"8.0.0-beta.6","description":"A tool for writing better scripts","type":"module","main":"./build/index.js","types":"./build/index.d.ts","typesVersions":{"*":{".":["./build/index.d.ts"],"globals":["./build/globals.d.ts"],"experimental":["./build/experimental.d.ts"],"cli":["./build/cli.d.ts"],"core":["./build/core.d.ts"]}},"exports":{".":"./build/index.js","./globals":"./build/globals.js","./experimental":"./build/experimental.js","./cli":"./build/cli.js","./core":"./build/core.js","./package.json":"./package.json"},"bin":{"zx":"build/cli.js"},"engines":{"node":">= 16.0.0"},"scripts":{"fmt":"prettier --write .","fmt:check":"prettier --check .","build":"npm run build:js && npm run build:dts","build:check":"tsc","build:js":"node scripts/build-js.mjs --format=esm --entry=src/*.ts && npm run build:vendor","build:vendor":"node scripts/build-js.mjs --format=esm --entry=src/vendor.ts --bundle=all --banner --minify","build:dts":"tsc --project tsconfig.prod.json && node scripts/build-dts.mjs","test":"npm run build && node ./test/all.test.js","test:types":"tsd","coverage":"c8 -x build/vendor.js -x 'test/**' -x scripts --check-coverage npm test","mutation":"stryker run","circular":"madge --circular src/*","version":"cat package.json | fx .version","publish:beta":"yarn build && npm publish --no-git-tag-version"},"optionalDependencies":{"@types/fs-extra":"^11.0.4","@types/node":">=20.11.19"},"devDependencies":{"@stryker-mutator/core":"^6.4.2","@types/fs-extra":"^11.0.4","@types/minimist":"^1.2.5","@types/node":">=20.11.19","@types/ps-tree":"^1.1.6","@types/which":"^3.0.3","c8":"^7.13.0","chalk":"^5.3.0","dts-bundle-generator":"^9.3.1","esbuild":"^0.20.1","esbuild-node-externals":"^1.13.0","esbuild-plugin-entry-chunks":"^0.1.8","fs-extra":"^11.2.0","fx":"*","globby":"^14.0.1","madge":"^6.1.0","minimist":"^1.2.8","node-fetch-native":"^1.6.2","prettier":"^2.8.8","ps-tree":"^1.2.0","tsd":"^0.28.1","typescript":"^5.0.4","webpod":"^0","which":"^3.0.0","yaml":"^2.3.4"},"publishConfig":{"_registry":"https://wombat-dressing-room.appspot.com","access":"public"},"prettier":{"semi":false,"singleQuote":true,"endOfLine":"lf"},"repository":{"type":"git","url":"git+https://github.com/google/zx.git"},"author":{"name":"Anton Medvedev","email":"anton@medv.io"},"license":"Apache-2.0","_id":"@antongolub/zx@8.0.0-beta.6","gitHead":"c275fba927267751349347f68a095764b7997092","bugs":{"url":"https://github.com/google/zx/issues"},"homepage":"https://github.com/google/zx#readme","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-gsbey9GSP3AlxIHo8FOa1ejbH/U+QGtn6xRd9RrKRzJFS+Rw1CRKY979kN1tDIR3PRlz/WGGEz3u3Gtxvq/guw==","shasum":"14d58d38848841951ae75bfea1f244061cff7fe2","tarball":"https://registry.npmjs.org/@antongolub/zx/-/zx-8.0.0-beta.6.tgz","fileCount":23,"unpackedSize":451391,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDd3RFhgxnPGlwRMH6sZdUREw2y1iTviXYEm6Ao5F3ooAiEA1RvvP5lLW3+3PpENtR4sV2+zD13OOt7riRyipcMDFRM="}]},"_npmUser":{"name":"antongolub","email":"golub.anton@gmail.com"},"directories":{},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zx_8.0.0-beta.6_1708797222372_0.6391746817402095"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-24T07:38:35.755Z","8.0.0-beta.0":"2024-02-24T07:38:36.086Z","modified":"2024-02-24T17:53:43.482Z","8.0.0-beta.1":"2024-02-24T08:15:17.587Z","8.0.0-beta.2":"2024-02-24T12:16:59.698Z","8.0.0-beta.3":"2024-02-24T12:29:20.263Z","8.0.0-beta.4":"2024-02-24T12:37:22.705Z","8.0.0-beta.5":"2024-02-24T12:40:03.015Z","8.0.0-beta.6":"2024-02-24T17:53:42.602Z"},"maintainers":[{"name":"antongolub","email":"golub.anton@gmail.com"}],"description":"A tool for writing better scripts","homepage":"https://github.com/google/zx#readme","repository":{"type":"git","url":"git+https://github.com/google/zx.git"},"author":{"name":"Anton Medvedev","email":"anton@medv.io"},"bugs":{"url":"https://github.com/google/zx/issues"},"license":"Apache-2.0","readme":"<h1><img src=\"https://google.github.io/zx/img/logo.svg\" alt=\"Zx logo\" height=\"32\" valign=\"middle\"> zx</h1>\n\n```js\n#!/usr/bin/env zx\n\nawait $`cat package.json | grep name`\n\nlet branch = await $`git branch --show-current`\nawait $`dep deploy --branch=${branch}`\n\nawait Promise.all([\n  $`sleep 1; echo 1`,\n  $`sleep 2; echo 2`,\n  $`sleep 3; echo 3`,\n])\n\nlet name = 'foo bar'\nawait $`mkdir /tmp/${name}`\n```\n\nBash is great, but when it comes to writing more complex scripts,\nmany people prefer a more convenient programming language.\nJavaScript is a perfect choice, but the Node.js standard library\nrequires additional hassle before using. The `zx` package provides\nuseful wrappers around `child_process`, escapes arguments and\ngives sensible defaults.\n\n## Install\n\n```bash\nnpm install zx\n```\n\n## Documentation\n\nRead documentation on [google.github.io/zx](https://google.github.io/zx/).\n\n## License\n\n[Apache-2.0](LICENSE)\n\nDisclaimer: _This is not an officially supported Google product._\n","readmeFilename":"README.md"}