{"id":16384731,"url":"https://github.com/saber2pr/ts-compiler","last_synced_at":"2025-06-22T19:06:09.811Z","repository":{"id":48171373,"uuid":"386879702","full_name":"Saber2pr/ts-compiler","owner":"Saber2pr","description":"Typescript Compiler Utils.","archived":false,"fork":false,"pushed_at":"2024-10-18T08:13:27.000Z","size":1062,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T19:05:20.941Z","etag":null,"topics":["compiler","typescript"],"latest_commit_sha":null,"homepage":"https://saber2pr.top/ts-compiler/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Saber2pr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-17T08:19:57.000Z","updated_at":"2024-10-23T12:46:27.000Z","dependencies_parsed_at":"2024-06-20T00:11:00.812Z","dependency_job_id":"7d80b9e5-a124-4ef6-9038-0e33ec967431","html_url":"https://github.com/Saber2pr/ts-compiler","commit_stats":{"total_commits":132,"total_committers":2,"mean_commits":66.0,"dds":0.446969696969697,"last_synced_commit":"100eae7182ecd2ba3617d0c35828ded17b5bff0c"},"previous_names":[],"tags_count":53,"template":false,"template_full_name":null,"purl":"pkg:github/Saber2pr/ts-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saber2pr%2Fts-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saber2pr%2Fts-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saber2pr%2Fts-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saber2pr%2Fts-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saber2pr","download_url":"https://codeload.github.com/Saber2pr/ts-compiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saber2pr%2Fts-compiler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261348644,"owners_count":23145308,"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":["compiler","typescript"],"created_at":"2024-10-11T04:12:13.007Z","updated_at":"2025-06-22T19:06:04.793Z","avatar_url":"https://github.com/Saber2pr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @saber2pr/ts-compiler\n\n[![npm](https://img.shields.io/npm/v/@saber2pr/ts-compiler.svg?color=blue)](https://www.npmjs.com/package/@saber2pr/ts-compiler)\n[![codecov](https://codecov.io/gh/Saber2pr/ts-compiler/branch/master/graph/badge.svg?token=DI9E88OIZU)](https://codecov.io/gh/Saber2pr/ts-compiler)\n\n\u003e ts compiler utils.\n\n```bash\nyarn add @saber2pr/ts-compiler\n```\n\n### Usage\n\nsee document: https://saber2pr.top/ts-compiler/\n\n```ts\nimport {\n  readTsExport,\n  readTsFileExport,\n  traverser,\n} from '@saber2pr/ts-compiler'\n\nreadTsFileExport('./test.ts').then(res =\u003e {\n  // res is value exported from ./test.ts\n  console.log(res)\n  console.log(res.test)\n})\n\nconst ast = traverser.createAstNode(`your code`)\ntraverser.findJsxElementByTagName(ast, 'View')\n// traverser.findXXX\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaber2pr%2Fts-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaber2pr%2Fts-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaber2pr%2Fts-compiler/lists"}