{"id":18464370,"url":"https://github.com/markxoe/mini-wait-on","last_synced_at":"2026-02-11T07:01:56.911Z","repository":{"id":57150631,"uuid":"448112447","full_name":"markxoe/mini-wait-on","owner":"markxoe","description":"Tiny, zero-dependency CLI alternative for wait-on","archived":false,"fork":false,"pushed_at":"2022-01-17T14:17:23.000Z","size":387,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T07:46:36.998Z","etag":null,"topics":["cli","typescript","wait-on","zero-dependency"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markxoe.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-14T21:30:04.000Z","updated_at":"2025-01-22T15:48:46.000Z","dependencies_parsed_at":"2022-09-03T16:50:24.820Z","dependency_job_id":null,"html_url":"https://github.com/markxoe/mini-wait-on","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markxoe%2Fmini-wait-on","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markxoe%2Fmini-wait-on/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markxoe%2Fmini-wait-on/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markxoe%2Fmini-wait-on/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markxoe","download_url":"https://codeload.github.com/markxoe/mini-wait-on/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239162786,"owners_count":19592342,"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":["cli","typescript","wait-on","zero-dependency"],"created_at":"2024-11-06T09:09:35.131Z","updated_at":"2025-10-31T09:30:33.118Z","avatar_url":"https://github.com/markxoe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mini-wait-on\n\n4.5kB, zero-dependency CLI alternative for `wait-on` written in TypeScript\n\n## Installation\n\nUsing npm:\n\n```bash\nnpm i mini-wait-on\n```\n\n## Usage\n\n```\nUsage: mini-wait-on resources options\n\nExamples:\n  mini-wait-on file://./dist/index.js -t 5 \u0026\u0026 echo \"Success\"\n  mini-wait-on http://localhost:3000/ https://github.com/ \u0026\u0026 npm run open-browser\n\nResources:\n  file:// - Waiting for an file to exist. Can be relative (file://./dist/index.js) or absolute (file:///Users/testfile)\n  http:// - Waiting for an 200 OK status code\n  https:// - Same as http:// but with https\n\nOptions:\n  -t {s} - Timeout in seconds for all resources. Exit as failure (default: Infinity)\n  -hd {ms} - HTTP(s) request delay in milliseconds (default: 1000)\n  -v - Verbose, prints some interesting stuff\n  -q - Quiet, run mini-wait-on silently (higher priority than verbose)\n```\n\n### Examples\n\n```bash\n$ mini-wait-on file://dist/index.js -t 5 -q \u0026\u0026 echo \"Success\"\n$ mini-wait-on http://localhost:3000/ https://github.com/ \u0026\u0026 npm run open-browser\n$ mini-wait-on http://localhost:1234/ file://dist/index.js -hd 100 -q \u0026\u0026 electron dist/index.js\n```\n\n### Resources to wait for\n\n- `file://` Wait for an file to be created\n- `http(s)://` Wait for an 200 OK code to be returned by an http(s) server\n\n### Options and flags\n\n- `-t {s}` Timeout in seconds. Defaults to Infinity\n- `-v` Displays some verbose info. Currently only when an resource is marked as done\n- `-q` Lets the CLI run quietly. This has an higher priority than `-v`.\n- `-hd` HTTPs request delay in milliseconds. Defaults to 1 second (This is the short pause bbetween every HTTPs request)\n\n## Limitations\n\nCurrently, redirects of any form (3xx) do not work and will result in failure\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkxoe%2Fmini-wait-on","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkxoe%2Fmini-wait-on","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkxoe%2Fmini-wait-on/lists"}