{"id":25087498,"url":"https://github.com/colinaaa/typia-rspack-plugin","last_synced_at":"2025-04-08T04:59:06.808Z","repository":{"id":275736346,"uuid":"927022135","full_name":"colinaaa/typia-rspack-plugin","owner":"colinaaa","description":"A Rspack plugin for typia.","archived":false,"fork":false,"pushed_at":"2025-04-01T02:25:45.000Z","size":111,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T03:28:14.634Z","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/colinaaa.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":"2025-02-04T09:17:34.000Z","updated_at":"2025-04-01T02:25:09.000Z","dependencies_parsed_at":"2025-04-01T03:24:55.865Z","dependency_job_id":"56f0ae7c-7d56-4196-91fb-c3ca103bf68b","html_url":"https://github.com/colinaaa/typia-rspack-plugin","commit_stats":null,"previous_names":["colinaaa/typia-rspack-plugin"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinaaa%2Ftypia-rspack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinaaa%2Ftypia-rspack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinaaa%2Ftypia-rspack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinaaa%2Ftypia-rspack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colinaaa","download_url":"https://codeload.github.com/colinaaa/typia-rspack-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247779694,"owners_count":20994573,"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":[],"created_at":"2025-02-07T10:01:55.691Z","updated_at":"2025-04-08T04:59:06.792Z","avatar_url":"https://github.com/colinaaa.png","language":"TypeScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Rspack Plugins"],"readme":"# typia-rspack-plugin\n\n\u003cp\u003e\n  \u003ca aria-label=\"NPM version\" href=\"https://www.npmjs.com/package/typia-rspack-plugin\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/npm/v/typia-rspack-plugin?logo=npm\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"License\" href=\"https://github.com/colinaaa/typia-rspack-plugin/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-blue\" alt=\"license\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nA Rspack plugin for [typia](https://github.com/samchon/typia) - TypeScript transformer for runtime type checking and validation.\n\n## Why\n\nThis plugin is a lightweight alternative to using the full `unplugin-typia` package. While `unplugin-typia` supports multiple bundlers (Webpack, Vite, Rollup, etc.), this plugin is specifically designed for Rspack users. By only including the Rspack-specific code, we can significantly reduce the installation size and dependencies.\n\nIf you're using Rspack as your bundler and typia for runtime type checking, this plugin provides the same functionality as `unplugin-typia` but with a smaller footprint.\n\n## Usage\n\nAdd the plugin to your `rspack.config.js`:\n\n```typescript\nimport { TypiaRspackPlugin } from \"typia-rspack-plugin\";\n\nexport default {\n  plugins: [\n    new TypiaRspackPlugin(),\n  ],\n};\n```\n\n### Using with Rslib\n\nIf you're using [Rslib](https://github.com/web-infra-dev/rslib), you can add the plugin to your `rslib.config.ts`:\n\n```javascript\nimport { defineConfig } from \"@rslib/core\";\nimport { TypiaRspackPlugin } from \"typia-rspack-plugin\";\n\nexport default defineConfig({\n  lib: [\n    { format: \"esm\" },\n  ],\n  tools: {\n    rspack: {\n      plugins: [\n        new TypiaRspackPlugin(),\n      ],\n    },\n  },\n});\n```\n\n## Options\n\nThe plugin accepts all options supported by `@ryoppippi/unplugin-typia`. For detailed options, please refer to the [`unplugin-typia` documentation](https://github.com/ryoppippi/unplugin-typia).\n\n## Development\n\nBuild the library:\n\n```bash\npnpm build\n```\n\nBuild the library in watch mode:\n\n```bash\npnpm dev\n```\n\n## License\n\nMIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinaaa%2Ftypia-rspack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolinaaa%2Ftypia-rspack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinaaa%2Ftypia-rspack-plugin/lists"}