{"id":15011509,"url":"https://github.com/wobsoriano/bun-plugin-proto","last_synced_at":"2026-01-04T16:49:49.876Z","repository":{"id":194852398,"uuid":"690158578","full_name":"wobsoriano/bun-plugin-proto","owner":"wobsoriano","description":"Adds support for .proto imports in Bun.","archived":false,"fork":false,"pushed_at":"2023-09-12T20:08:35.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T02:02:41.076Z","etag":null,"topics":["bun","plugin","proto"],"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/wobsoriano.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}},"created_at":"2023-09-11T16:36:43.000Z","updated_at":"2023-09-30T11:33:55.000Z","dependencies_parsed_at":"2023-09-15T11:50:02.753Z","dependency_job_id":"acf79af0-433e-42c2-95cf-0a67322f7415","html_url":"https://github.com/wobsoriano/bun-plugin-proto","commit_stats":null,"previous_names":["wobsoriano/bun-plugin-proto"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wobsoriano%2Fbun-plugin-proto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wobsoriano%2Fbun-plugin-proto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wobsoriano%2Fbun-plugin-proto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wobsoriano%2Fbun-plugin-proto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wobsoriano","download_url":"https://codeload.github.com/wobsoriano/bun-plugin-proto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244142048,"owners_count":20404930,"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":["bun","plugin","proto"],"created_at":"2024-09-24T19:41:10.913Z","updated_at":"2026-01-04T16:49:49.834Z","avatar_url":"https://github.com/wobsoriano.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bun-plugin-proto\n\nAdds support for .proto imports in Bun.\n\n## Installation\n\n```bash\nbun add bun-plugin-proto -d\n```\n\n## Bundler usage\n\n```ts\nimport proto from \"bun-plugin-proto\";\n\nBun.build({\n  // other config\n  plugins: [\n    proto()\n  ],\n});\n```\n\nIn your sources you can now import proto files\n\n```ts\nimport packageDefinition from './file.proto'\n\nconsole.log(packageDefinition)\n```\n\nThe contents of the packageDefinition will be inlined into your bundle.\n\n## Runtime usage\n\nTo use as a runtime plugin, create a file that registers the plugin:\n\n```ts\n// proto.ts\nimport proto from 'bun-plugin-proto'\n\nBun.plugin(proto({}));\n```\n\nThen preload it in your `bunfig.toml`:\n\n```toml\npreload = ['./proto.ts']\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwobsoriano%2Fbun-plugin-proto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwobsoriano%2Fbun-plugin-proto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwobsoriano%2Fbun-plugin-proto/lists"}