{"id":15590928,"url":"https://github.com/joshuakgoldberg/ts-api-utils","last_synced_at":"2026-04-01T22:19:01.814Z","repository":{"id":65710015,"uuid":"597893818","full_name":"JoshuaKGoldberg/ts-api-utils","owner":"JoshuaKGoldberg","description":"Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️","archived":false,"fork":false,"pushed_at":"2025-05-11T16:39:02.000Z","size":2955,"stargazers_count":99,"open_issues_count":31,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-15T03:06:56.196Z","etag":null,"topics":["abstract-syntax-trees","tsutils","typescript","typescript-api"],"latest_commit_sha":null,"homepage":"https://joshuakgoldberg.github.io/ts-api-utils","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/JoshuaKGoldberg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"JoshuaKGoldberg"}},"created_at":"2023-02-05T23:37:54.000Z","updated_at":"2025-05-11T14:15:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd128875-c80a-4dc9-a80c-355c79a7af4e","html_url":"https://github.com/JoshuaKGoldberg/ts-api-utils","commit_stats":{"total_commits":556,"total_committers":9,"mean_commits":61.77777777777778,"dds":0.4784172661870504,"last_synced_commit":"ccd1d48bcd830ef13c3ac021aa5dfc9a6025cb95"},"previous_names":["joshuakgoldberg/ts-api-tools"],"tags_count":34,"template":false,"template_full_name":"JoshuaKGoldberg/create-typescript-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaKGoldberg%2Fts-api-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaKGoldberg%2Fts-api-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaKGoldberg%2Fts-api-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshuaKGoldberg%2Fts-api-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoshuaKGoldberg","download_url":"https://codeload.github.com/JoshuaKGoldberg/ts-api-utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264766,"owners_count":22041793,"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":["abstract-syntax-trees","tsutils","typescript","typescript-api"],"created_at":"2024-10-02T23:33:50.470Z","updated_at":"2026-04-01T22:19:01.803Z","avatar_url":"https://github.com/JoshuaKGoldberg.png","language":"TypeScript","funding_links":["https://github.com/sponsors/JoshuaKGoldberg"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eTypeScript API Utils\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Utility functions for working with TypeScript's API.\n  Successor to the wonderful tsutils.\n  🛠️️\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/.github/CODE_OF_CONDUCT.md\" target=\"_blank\"\u003e\u003cimg alt=\"🤝 Code of Conduct: Kept\" src=\"https://img.shields.io/badge/%F0%9F%A4%9D_code_of_conduct-kept-21bb42\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://codecov.io/gh/JoshuaKGoldberg/ts-api-utils\" target=\"_blank\"\u003e\u003cimg alt=\"🧪 Coverage\" src=\"https://img.shields.io/codecov/c/github/JoshuaKGoldberg/ts-api-utils?label=%F0%9F%A7%AA%20coverage\" /\u003e\u003c/a\u003e\n  \u003ca href=\"#\" target=\"_blank\"\u003e\u003cimg alt=\"📚 Documentation Coverage\" src=\"https://raw.githubusercontent.com/JoshuaKGoldberg/ts-api-utils/refs/heads/main/docs/coverage.svg\" /\u003e\u003c/a\u003e\n\t\u003ca href=\"https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/LICENSE.md\" target=\"_blank\"\u003e\u003cimg alt=\"📝 License: MIT\" src=\"https://img.shields.io/badge/%F0%9F%93%9D_license-MIT-21bb42.svg\"\u003e\u003c/a\u003e\n\t\u003ca href=\"http://npmjs.com/package/ts-api-utils\"\u003e\u003cimg alt=\"📦 npm version\" src=\"https://img.shields.io/npm/v/ts-api-utils?color=21bb42\u0026label=%F0%9F%93%A6%20npm\" /\u003e\u003c/a\u003e\n\t\u003cimg alt=\"💪 TypeScript: Strict\" src=\"https://img.shields.io/badge/%F0%9F%92%AA_typescript-strict-21bb42.svg\" /\u003e\n\u003c/p\u003e\n\n## Usage\n\n```shell\nnpm i ts-api-utils\n```\n\n```ts\nimport * as tsutils from \"ts-api-utils\";\n\ntsutils.forEachToken(/* ... */);\n```\n\n### API\n\n`ts-api-utils` provides many utility functions.\nCheck out our API docs for details:\n\n📝 [ts-api-utils API docs](https://joshuakgoldberg.github.io/ts-api-utils).\n\n### Supported Versions\n\n`ts-api-utils` supports TypeScript versions `5.5.2` and above and Node versions `20.19.0` and above.\n\nNote: `ts-api-utils` will not work with the TypeScript Native Preview (TypeScript 7) for the foreseeable future, due to\nunknowns around the future of the TypeScript Native API.\\\nSee their list of [What Works So Far?](https://github.com/microsoft/typescript-go#what-works-so-far) for details.\n\n## Development\n\nSee [`.github/CONTRIBUTING.md`](./.github/CONTRIBUTING.md).\nThanks! 💖\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshuakgoldberg%2Fts-api-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshuakgoldberg%2Fts-api-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshuakgoldberg%2Fts-api-utils/lists"}