{"id":19251359,"url":"https://github.com/springtype-org/st-run","last_synced_at":"2026-05-18T14:10:31.254Z","repository":{"id":42175069,"uuid":"218203336","full_name":"springtype-org/st-run","owner":"springtype-org","description":"A chainable, faster, always up-to-date npx alternative and also a system command executor. Run multiple commands in one npm script.","archived":false,"fork":false,"pushed_at":"2023-01-06T02:14:33.000Z","size":640,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T16:49:26.700Z","etag":null,"topics":["chain-commands","cli","command-line","cross-platform","fast","npm","npmscripts","npx","runner","selfupdate"],"latest_commit_sha":null,"homepage":"https://www.springtype.org","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/springtype-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-29T04:20:17.000Z","updated_at":"2020-04-26T07:25:04.000Z","dependencies_parsed_at":"2023-02-05T02:46:52.158Z","dependency_job_id":null,"html_url":"https://github.com/springtype-org/st-run","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/springtype-org/st-run","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springtype-org%2Fst-run","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springtype-org%2Fst-run/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springtype-org%2Fst-run/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springtype-org%2Fst-run/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/springtype-org","download_url":"https://codeload.github.com/springtype-org/st-run/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/springtype-org%2Fst-run/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33180419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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":["chain-commands","cli","command-line","cross-platform","fast","npm","npmscripts","npx","runner","selfupdate"],"created_at":"2024-11-09T18:22:02.096Z","updated_at":"2026-05-18T14:10:31.202Z","avatar_url":"https://github.com/springtype-org.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### `npx` replacement: `st-run st-rm-rf dist ++ system:tsc`\n\n\u003e 💨Just like `npx` but chainable, way faster and always using `@latest` of any command 💨\n\n\u003e 🎉 Get rid of node scripts to chain commands 🎉\n\n\u003e 🚀Get rid of direct \u0026 out-dated CLI dependencies 🚀\n\n\u003e 🧑‍🤝‍🧑 Cross-platform and end-2-end tested ✨\n\n#### Performance\n\n~2x faster than `npx` when your machine is online:\n\n\u003cimg src=\"when-online.png\" height=\"200\"/\u003e\n\n\n~5x faster than `npx` when your machine is offline:\n\n\u003cimg src=\"when-offline.png\" height=\"200\"/\u003e\n\nAnd it always checks for the `@latest` version when your machine is online.\n\n#### Usage\n\nYou can use `st-run` in npm scripts [like this](https://github.com/springtype-org/st-run/blob/master/package.json#L23):\n\n```\n{\n    \"name\": \"your-node-module\",\n    \"scripts\": {\n        \"copy-smth\": \"st-run st-cp package.json package.json2\"\n    },\n    \"dependencies\": {\n        \"st-run\": \"latest\"\n    }\n}\n```\n\n\nThis way you may *get rid of some direct dependencies* and make sure the CLI tools being _used by end-users are always up to date_.\n\nOr install it globally like `npx`:\n\n    npm i -g st-run\n\nAnd use it globally just like `npx`:\n\n    st-run st-cp package.json package.json2\n\n\n#### `commandA arg1 ++ commandB arg1 arg2` Chaining Syntax\n\nYou can get rid of special node scripts to chain commands by letting `st-run` chain them for you:\n\n    st-run st-cp package.json package.json2 ++ st-cp package.json2 package.json3\n\nAs you can see, a simple `+` chains two or more commands. There is no command count limit.\n\n#### `command@specificVersion` Syntax\n\nWith `st-run` you can have multiple cached versions at the same time (just like with `maven`, `gradle` etc.):\n\n    st-run st-cp@1.0.0 package.json package.json2 ++ st-cp@2.0.0 package.json2 package.json3\n\nCool?\n\n### `system:command` Syntax\n\nOh, you want to run a command that is not an npm script? `st-run` got you covered:\n\n    st-run system:rm -rf dist + system:tsc\n\nThis also works for globally installed npm packages that you don't want to update on-the-fly.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringtype-org%2Fst-run","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringtype-org%2Fst-run","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringtype-org%2Fst-run/lists"}