{"id":22610777,"url":"https://github.com/cheatoid/ts-plugins","last_synced_at":"2026-04-27T12:06:22.847Z","repository":{"id":142767496,"uuid":"614059223","full_name":"Cheatoid/TS-plugins","owner":"Cheatoid","description":"General-purpose TypeScript plugins/transformers","archived":false,"fork":false,"pushed_at":"2023-03-21T19:27:07.000Z","size":47,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T05:39:15.852Z","etag":null,"topics":["extensions","plugins","transformers","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@cheatoid/ts-plugins","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/Cheatoid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-03-14T20:07:03.000Z","updated_at":"2023-03-20T05:39:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"4cb656c6-306b-4780-876b-d9263428572d","html_url":"https://github.com/Cheatoid/TS-plugins","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cheatoid%2FTS-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cheatoid%2FTS-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cheatoid%2FTS-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cheatoid%2FTS-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cheatoid","download_url":"https://codeload.github.com/Cheatoid/TS-plugins/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246112666,"owners_count":20725301,"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":["extensions","plugins","transformers","typescript"],"created_at":"2024-12-08T16:08:06.476Z","updated_at":"2026-04-27T12:06:22.798Z","avatar_url":"https://github.com/Cheatoid.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TS Plugins\n[![npm (scoped)](https://img.shields.io/npm/v/@cheatoid/ts-plugins?style=for-the-badge)](https://www.npmjs.com/package/@cheatoid/ts-plugins)\n\nGeneral-purpose [TypeScript](https://github.com/microsoft/TypeScript) plugins/transformers.\n\n## 🛠 Installation\nGet the latest package from npm:\n```shell\nnpm install -D @cheatoid/ts-plugins\n# or\nyarn add -D @cheatoid/ts-plugins\n```\n\n## ✨ Features\n\nNote: Each feature works on opt-in basis.  \nModify your `tsconfig.json` (replace the `INSERT-TRANSFORM-NAME` accordingly):  \n```json\n{\n    \"compilerOptions\": {\n        \"plugins\": [\n            { \"transform\": \"@cheatoid/ts-plugins/INSERT-TRANSFORM-NAME.js\" },\n        ]\n    }\n}\n```\n\n### ***Constant Folding***\n`{ \"transform\": \"@cheatoid/ts-plugins/constant-folding.js\" }`\n\nSee [Wikipedia](https://en.wikipedia.org/wiki/Constant_folding) for explanation.\n\n#### Additional Options\n`evaluateMath`: Set to `true` to enable `Math` library evaluation (when possible).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheatoid%2Fts-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheatoid%2Fts-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheatoid%2Fts-plugins/lists"}