{"id":22202696,"url":"https://github.com/namchee/henshin","last_synced_at":"2025-03-25T01:47:15.947Z","repository":{"id":218231186,"uuid":"745771419","full_name":"Namchee/henshin","owner":"Namchee","description":"Collection of TypeScript transformers for various uses,","archived":false,"fork":false,"pushed_at":"2024-01-27T10:55:53.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T12:16:14.922Z","etag":null,"topics":["transformers","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/Namchee.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":"2024-01-20T04:59:23.000Z","updated_at":"2024-01-27T08:01:33.000Z","dependencies_parsed_at":"2024-12-02T16:43:21.234Z","dependency_job_id":"44841120-e39e-4a43-bd27-565770212a18","html_url":"https://github.com/Namchee/henshin","commit_stats":null,"previous_names":["namchee/henshin"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fhenshin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fhenshin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fhenshin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fhenshin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Namchee","download_url":"https://codeload.github.com/Namchee/henshin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245383120,"owners_count":20606265,"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":["transformers","typescript"],"created_at":"2024-12-02T16:36:56.706Z","updated_at":"2025-03-25T01:47:15.922Z","avatar_url":"https://github.com/Namchee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Henshin\n\nCollection of TypeScript custom transformers for various uses. \n\n## Transformers\n\nBelow are the list of available transformers in [packages](./packages). All transformers can be installed through `@namchee/henshin-\u003ctransformer_name\u003e`.\n\n| Name                                  | Description                                                                                                                             |\n| ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |\n| [`strip-debug`](packages/strip-debug) | Replaces debugging statements with [void expressions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/void) |\n\n## Usage\n\nThere are 4 ways to consume the transformers:\n\n1. **CLI Wrapper**\n\n   By default, TypeScript [does not support custom transformers](https://github.com/microsoft/TypeScript/issues/14419) by default. The community addresses this issue by providing a CLI wrapper that augments the functionality of `tsc`. such as [`ttypescript`](https://github.com/cevek/ttypescript) and [`ts-patch`](https://github.com/nonara/ts-patch).\n\n2. **Compiler API**\n    \n   Besides using third-party, custom compilers can be consumed by creating your own pipeline using [Compiler API](https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API) using `transform` or `transpile`.\n\n2. **Bundlers**\n\n   Some bundlers provides way to consume custom transformers through plugins such as [`webpack` via `ts-loader`](https://github.com/TypeStrong/ts-loader#getcustomtransformers) or [`ttypescript` plugin for `parcel` and `rollup`](https://github.com/cevek/ttypescript#parcel)\n\n\n3. **Helper function**\n\n   For convenience, every transformers in Henshin exposes a helper function besides transformer factory that takes care of the transformation process by simply providing the file contents and options. Please refer to each package `README.md` for more information about helper functions.\n\n## License\n\nThis project is licensed under the [MIT License](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamchee%2Fhenshin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamchee%2Fhenshin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamchee%2Fhenshin/lists"}