{"id":20050122,"url":"https://github.com/jersou/bash-to-deno","last_synced_at":"2026-02-02T03:03:31.764Z","repository":{"id":218624319,"uuid":"746940684","full_name":"jersou/bash-to-deno","owner":"jersou","description":"Bash to Deno examples","archived":false,"fork":false,"pushed_at":"2024-10-22T20:24:17.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T13:07:02.832Z","etag":null,"topics":["bash","dax","deno","zx"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jersou.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-23T00:09:15.000Z","updated_at":"2024-10-22T20:24:20.000Z","dependencies_parsed_at":"2024-10-23T03:56:04.694Z","dependency_job_id":null,"html_url":"https://github.com/jersou/bash-to-deno","commit_stats":null,"previous_names":["jersou/bash-to-deno"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jersou/bash-to-deno","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jersou%2Fbash-to-deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jersou%2Fbash-to-deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jersou%2Fbash-to-deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jersou%2Fbash-to-deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jersou","download_url":"https://codeload.github.com/jersou/bash-to-deno/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jersou%2Fbash-to-deno/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29002636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T01:32:03.847Z","status":"online","status_checked_at":"2026-02-02T02:00:07.448Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","dax","deno","zx"],"created_at":"2024-11-13T11:54:20.180Z","updated_at":"2026-02-02T03:03:31.748Z","avatar_url":"https://github.com/jersou.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bash to Deno examples\n\nBash has a number of peculiarities, particularly when it comes to error\nhandling, and long Bash scripts can become complicated to maintain for teams\nwith little experience of the language.\n\nDeno seems a good alternative, with Typescript for typing and a modern API for\naccessing local resources (File System, I/O, Sub Process, ...).\n\nThis examples [bash-to-deno.ts](./bash-to-deno.ts) use\n[Dax](https://github.com/dsherret/dax) library :\n\n\u003e Cross platform shell tools for Deno inspired by zx.\n\nFrom https://github.com/google/zx :\n\n\u003e Bash is great, but when it comes to writing more complex scripts, many people\n\u003e prefer a more convenient programming language. JavaScript is a perfect choice,\n\u003e but the Node.js standard library requires additional hassle before using. The\n\u003e zx package provides useful wrappers around child_process, escapes arguments\n\u003e and gives sensible defaults.\n\n→ [see the examples in bash-to-deno.ts](./bash-to-deno.ts)\n\n→ [see the example with basic CLI in cli-lite-example.ts](./cli-lite-example.ts)\n\n## Official Doc\n\n- Dax : https://github.com/dsherret/dax\n- Deno API : https://deno.land/api\n- Deno Standard Library : https://jsr.io/@std\n- Deno Manual : https://docs.deno.com/runtime/manual\n- CliteParser : https://github.com/jersou/clite-parser\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjersou%2Fbash-to-deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjersou%2Fbash-to-deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjersou%2Fbash-to-deno/lists"}