{"id":15779959,"url":"https://github.com/rgl/node-external-process-promises-example","last_synced_at":"2025-10-28T20:14:30.452Z","repository":{"id":230731203,"uuid":"779648617","full_name":"rgl/node-external-process-promises-example","owner":"rgl","description":"example Node.js application starts an external process and parses its output to resolve two promises","archived":false,"fork":false,"pushed_at":"2024-03-31T14:01:37.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T11:06:07.989Z","etag":null,"topics":["child-process","external-process","javascript","node","promise","promises","typescript"],"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/rgl.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":"2024-03-30T12:10:02.000Z","updated_at":"2024-03-30T12:12:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"cfcbb4ca-3899-438a-ac5c-0fa95c7d531e","html_url":"https://github.com/rgl/node-external-process-promises-example","commit_stats":null,"previous_names":["rgl/node-external-process-promises-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fnode-external-process-promises-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fnode-external-process-promises-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fnode-external-process-promises-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rgl%2Fnode-external-process-promises-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rgl","download_url":"https://codeload.github.com/rgl/node-external-process-promises-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246492463,"owners_count":20786373,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","external-process","javascript","node","promise","promises","typescript"],"created_at":"2024-10-04T18:22:04.934Z","updated_at":"2025-10-28T20:14:30.361Z","avatar_url":"https://github.com/rgl.png","language":"TypeScript","readme":"# About\n\n[![Build](https://github.com/rgl/node-external-process-promises-example/actions/workflows/build.yml/badge.svg)](https://github.com/rgl/node-external-process-promises-example/actions/workflows/build.yml)\n\nThis example Node.js application starts an external process and parses its output to resolve two promises.\n\nThis is implemented by the `startApp` function, which is used as:\n\n```typescript\nconst { verificationUrlPromise, claimsPromise } = startApp();\n\nconsole.log(\"verification url:\", await verificationUrlPromise);\nconsole.log(\"claims:\", await claimsPromise);\n```\n\n# Usage\n\nInstall [Node.js](https://nodejs.org).\n\nInstall the dependencies:\n\n```bash\nnpm ci\n```\n\nRun the example:\n\n```bash\nnpm run example\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fnode-external-process-promises-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frgl%2Fnode-external-process-promises-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frgl%2Fnode-external-process-promises-example/lists"}