{"id":22308749,"url":"https://github.com/ratson/deno-subprocess","last_synced_at":"2026-04-27T23:39:22.365Z","repository":{"id":144374078,"uuid":"315370887","full_name":"ratson/deno-subprocess","owner":"ratson","description":"Capture command output wihtout boilerplate","archived":false,"fork":false,"pushed_at":"2020-11-23T16:22:22.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T01:33:37.760Z","etag":null,"topics":["child-process","deno","subprocess"],"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/ratson.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}},"created_at":"2020-11-23T16:14:15.000Z","updated_at":"2023-04-10T15:21:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"25027073-82ae-4151-9ded-b9512b464a79","html_url":"https://github.com/ratson/deno-subprocess","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ratson/deno-subprocess","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratson%2Fdeno-subprocess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratson%2Fdeno-subprocess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratson%2Fdeno-subprocess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratson%2Fdeno-subprocess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ratson","download_url":"https://codeload.github.com/ratson/deno-subprocess/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ratson%2Fdeno-subprocess/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32360116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["child-process","deno","subprocess"],"created_at":"2024-12-03T20:15:06.815Z","updated_at":"2026-04-27T23:39:22.347Z","avatar_url":"https://github.com/ratson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ❯ Content\n\n- [❯ Content](#-content)\n- [❯ Install](#-install)\n- [❯ Usage](#-usage)\n  - [output()](#output)\n  - [stderrOutput()](#stderroutput)\n  - [run()](#run)\n\n## ❯ Install\n\nThis module can be imported directly from the repo and from following registries.\n\nDeno Registry\n\n```typescript\nimport * as subprocess from \"https://deno.land/x/subprocess/mod.ts\";\n```\n\nGithub\n\n```typescript\nimport * as subprocess from \"https://raw.githubusercontent.com/ratson/deno-subprocess/master/mod.ts\";\n```\n\n## ❯ Usage\n\n### output()\n\nCapture stdout output from a command.\n\n```typescript\nimport * as subprocess from \"https://deno.land/x/subprocess/mod.ts\";\n\nconst stdout: string = await subprocess.output([\"deno\", \"--version\"]);\n```\n\n### stderrOutput()\n\nCapture stderr output from a command.\n\n```typescript\nimport * as subprocess from \"https://deno.land/x/subprocess/mod.ts\";\n\nconst stderr: string = await subprocess.stderrOutput([\"deno\", \"--version\"]);\n```\n\n### run()\n\nRun a command.\n\n```typescript\nimport * as subprocess from \"https://deno.land/x/subprocess/mod.ts\";\n\nconst { code, success } = await subprocess.run([\"deno\", \"--version\"]);\n```\n\nRun a command without printing to stdout and stderr.\n\n```typescript\nimport * as subprocess from \"https://deno.land/x/subprocess/mod.ts\";\n\nconst result = await subprocess.run([\"deno\", \"--version\"], { stderr: \"null\", stdout: \"null\" });\n```\n\nRun a command with captured output.\n\n```typescript\nimport * as subprocess from \"https://deno.land/x/subprocess/mod.ts\";\n\nconst result = await subprocess.run([\"deno\", \"--version\"], { stderr: \"piped\", stdout: \"piped\" });\nconst { code, success, stderr, stdout } = result\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratson%2Fdeno-subprocess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fratson%2Fdeno-subprocess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fratson%2Fdeno-subprocess/lists"}