{"id":31033458,"url":"https://github.com/uanela/tsx-strict","last_synced_at":"2026-04-07T17:31:29.096Z","repository":{"id":311537988,"uuid":"1043995503","full_name":"Uanela/tsx-strict","owner":"Uanela","description":"The TSX with automatic Type-Checking","archived":false,"fork":false,"pushed_at":"2026-04-04T20:37:46.000Z","size":229,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T22:41:32.046Z","etag":null,"topics":["deno","nodejs","runner","ts-node-dev","tsx","type-checking","type-safe","typescript"],"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/Uanela.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["Uanela"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2025-08-25T03:09:30.000Z","updated_at":"2026-04-04T20:37:52.000Z","dependencies_parsed_at":"2025-08-25T06:12:10.665Z","dependency_job_id":"8d0f8db9-bef4-4b6c-bd8b-7f4e112e9935","html_url":"https://github.com/Uanela/tsx-strict","commit_stats":null,"previous_names":["uanela/tsx-strict"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Uanela/tsx-strict","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uanela%2Ftsx-strict","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uanela%2Ftsx-strict/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uanela%2Ftsx-strict/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uanela%2Ftsx-strict/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uanela","download_url":"https://codeload.github.com/Uanela/tsx-strict/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uanela%2Ftsx-strict/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31522225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"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":["deno","nodejs","runner","ts-node-dev","tsx","type-checking","type-safe","typescript"],"created_at":"2025-09-14T01:54:58.182Z","updated_at":"2026-04-07T17:31:29.077Z","avatar_url":"https://github.com/Uanela.png","language":"TypeScript","funding_links":["https://github.com/sponsors/Uanela"],"categories":[],"sub_categories":[],"readme":"# The TSX with automatic Type-Checking\n\nRun TypeScript files with TSX while providing real-time type checking.\n\n## Features\n\n- Real-time type checking alongside tsx execution\n- Watch mode with automatic restarts\n- Intelligent process management\n- Customizable compiler support\n- Memory management options\n- Config file support (`tsx-strict.config.ts` / `tsxs.config.ts`)\n\n## Installation\n\n```bash\npnpm install -g tsx-strict\n```\n\nOr use with npx:\n\n```bash\nnpx tsxs src/index.ts\n```\n\n## Usage\n\n```bash\ntsxs app.ts\n```\n\n### Watch Mode\n\n```bash\ntsxs --watch app.ts\n```\n\n### Skip Type Checking\n\n```bash\ntsxs --no-type-check app.ts\n```\n\n## CLI Options\n\n| Option                 | Description                              | Default              |\n| ---------------------- | ---------------------------------------- | -------------------- |\n| `-w, --watch`          | Enable watch mode                        | `false`              |\n| `--no-clear`           | Do not clear screen                      | `false`              |\n| `--compiler`           | Compiler path                            | `typescript/bin/tsc` |\n| `--tsc-args \u003cargs...\u003e` | Additional TypeScript compiler arguments | `[]`                 |\n| `--tsx-args \u003cargs...\u003e` | Additional tsx arguments                 | `[]`                 |\n| `--silent`             | Suppress output                          | `false`              |\n| `--no-type-check`      | Skip type checking (run tsx directly)    | `false`              |\n\n## Config File\n\nCreate a `tsx-strict.config.ts` or `tsxs.config.ts` at your project root for persistent configuration. CLI args always take precedence over the config file.\n\n```typescript\nimport { defineConfig } from \"tsx-strict/config\";\n\nexport default defineConfig({\n    watch: true,\n    clear: true,\n    typeCheck: true,\n    compiler: \"typescript/bin/tsc\",\n    tscArgs: [\"--strict\"],\n    tsxArgs: [\"--env-file=.env\"],\n    maxNodeMem: \"4096\",\n});\n```\n\n### Watch Options\n\n`watch` can be `true` to use defaults, or an object for full control:\n\n```typescript\nimport { defineConfig } from \"tsx-strict/config\";\n\nexport default defineConfig({\n    watch: {\n        include: [\"src/**\"],\n        ignore: [\"**/*.test.ts\", /generated/, (path) =\u003e path.includes(\"dist\")],\n        extensions: [\"ts\", \"tsx\", \"js\"],\n    },\n});\n```\n\n## How It Works\n\nRuns `tsc --noEmit` for type checking and `tsx` for execution. Restarts tsx only when type checking passes and kills previous instances to prevent conflicts.\n\nBuilt with ♥️ by Uanela Como\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuanela%2Ftsx-strict","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuanela%2Ftsx-strict","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuanela%2Ftsx-strict/lists"}