{"id":31392838,"url":"https://github.com/formidablelabs/ts-simplify","last_synced_at":"2025-09-29T04:47:52.103Z","repository":{"id":200808013,"uuid":"706265119","full_name":"FormidableLabs/ts-simplify","owner":"FormidableLabs","description":"CLI tool to compile TypeScript types into simple, alias-free primitives.","archived":false,"fork":false,"pushed_at":"2023-10-23T17:59:20.000Z","size":107,"stargazers_count":19,"open_issues_count":5,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-04T17:32:50.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/FormidableLabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-17T15:55:18.000Z","updated_at":"2025-01-29T03:25:52.000Z","dependencies_parsed_at":"2023-10-23T18:39:50.464Z","dependency_job_id":null,"html_url":"https://github.com/FormidableLabs/ts-simplify","commit_stats":null,"previous_names":["formidablelabs/ts-simplify"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/FormidableLabs/ts-simplify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FormidableLabs%2Fts-simplify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FormidableLabs%2Fts-simplify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FormidableLabs%2Fts-simplify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FormidableLabs%2Fts-simplify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FormidableLabs","download_url":"https://codeload.github.com/FormidableLabs/ts-simplify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FormidableLabs%2Fts-simplify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277467480,"owners_count":25822917,"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","status":"online","status_checked_at":"2025-09-29T02:00:09.175Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-09-29T04:47:49.725Z","updated_at":"2025-09-29T04:47:52.097Z","avatar_url":"https://github.com/FormidableLabs.png","language":"TypeScript","readme":"# ts-simplify\n\nCLI tool to compile TypeScript types into simple, alias-free primitives.\n\n## Usage\n\n```sh\nts-simplify \u003csource\u003e [output]\n```\n\nThis can be run via `npx` without installation, eg: \n```sh\nnpx ts-simplify \u003csource\u003e [output]\n```\n\n## Example\n\nIf you have a TypeScript file with exported types:\n```ts\n// example-types.ts\ntype MyType = { a: \"A\", b: \"B\", nested: Nested };\ntype Nested = { c:\"C\" };\nexport type MyType = Omit\u003cMyType, 'b'\u003e;\n```\n\nRunning this:\n```sh\nts-simplify ./example-types.ts ./example-types.d.ts\n```\n\nwill output this:\n\n```ts\n// example-types.d.ts\nexport type MyType = { a: \"A\", nested: { c: \"C\" } };\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformidablelabs%2Fts-simplify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformidablelabs%2Fts-simplify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformidablelabs%2Fts-simplify/lists"}