{"id":23459805,"url":"https://github.com/iambpn/proto_to_ts_schema","last_synced_at":"2025-08-03T16:32:13.376Z","repository":{"id":65399101,"uuid":"585871935","full_name":"iambpn/proto_to_ts_schema","owner":"iambpn","description":"proto to ts schema compiler/transpiler.","archived":false,"fork":false,"pushed_at":"2023-02-02T11:59:26.000Z","size":115,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T22:17:42.610Z","etag":null,"topics":["proto","protobuf","transpiler","ts","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iambpn.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}},"created_at":"2023-01-06T10:02:22.000Z","updated_at":"2023-02-02T04:17:43.000Z","dependencies_parsed_at":"2023-02-16T09:00:53.044Z","dependency_job_id":null,"html_url":"https://github.com/iambpn/proto_to_ts_schema","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iambpn%2Fproto_to_ts_schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iambpn%2Fproto_to_ts_schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iambpn%2Fproto_to_ts_schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iambpn%2Fproto_to_ts_schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iambpn","download_url":"https://codeload.github.com/iambpn/proto_to_ts_schema/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487688,"owners_count":21112191,"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":["proto","protobuf","transpiler","ts","typescript"],"created_at":"2024-12-24T06:17:58.182Z","updated_at":"2025-04-11T22:17:45.531Z","avatar_url":"https://github.com/iambpn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# proto_to_ts_schema\n\nproto to ts schema compiler/transpiler.\n\n## Usage\n\nProto to TS Schema\n\n`config`: Path to the config file which must be in js/ts format. (default: CWD/p2t.js) usage: --config [-c]\n\n`help`: To show help docs. usage: --help [-h]\n\n`out`: Path to output folder. (default: CWD) usage: --out \u003cpath\u003e [-o \u003cpath\u003e]\n\n`proto_files`: List of proto files to compile to TS. (default: All proto files inside of 'proto_path' or CWD) usage: --proto_files \u003cfilename.proto\u003e \u003cfilename2.proto\u003e [-f \u003cfiles.prot\u003e]\n\n`proto_path`: Path to Proto folder, (default: CWD) usage: --proto_path \u003cpath\u003e [-p \u003cpath\u003e]\n\n## CLI Usage with `p2ti`\n\ninstall package globally: `npm i -g proto_ts_schema`.\n\n- To show help docs: `p2ti -h`\n\n## Config Example\n\n```js\nmodule.exports = {\n  rpcFuncReturn: undefined, // Function (type:string) =\u003estring\n  imports: [], // Additional imports to include in TS file. Options: Array\u003cstring\u003e | undefined\n};\n```\n\n## Known Caveats\n\n(There are many caveats in this compiler still to be found but here are some known caveats)\n\n- Ordering of the `message` in proto matters. You need to declare proto message first then only you can use it else it will result in error.\n\n## Features\n\n- Support for Relative Imports\n- Support for config file\n- Built in CLI\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiambpn%2Fproto_to_ts_schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiambpn%2Fproto_to_ts_schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiambpn%2Fproto_to_ts_schema/lists"}