Skip to content
SPECIFICTION
Get listed

ts-proto

github.com

Free plan WindowsmacOSLinuxAPI
Visit github.com
Spec score 7.9 #18 of 33 in Code Generators

Spec sheet

Purpose
ts-proto transforms .proto files into strongly typed, idiomatic TypeScript files.Read 11 Oct 2026 · github.com
Integrations
The README documents use with protoc, Buf, and the protobuf Gradle plugin.Read 11 Oct 2026 · github.com
Support
The maintainer offers customizations or priority support for companies by email.Read 11 Oct 2026 · github.com
License
The repository is published under the Apache-2.0 license.Read 11 Oct 2026 · github.com
Batching
Twirp clients can automatically batch matching RPC calls to help prevent N+1 requests.Read 11 Oct 2026 · github.com
Buf integration
The README documents configuring ts-proto with Buf and says an official plugin is published to the Buf Registry.Read 5 Oct 2026 · github.com
Generated code
Generated message code includes encode, decode, toJSON, and fromJSON methods.Read 11 Oct 2026 · github.com
Google APIs limit
The README says clients for google.api.http-based Google Cloud APIs are not supported.Read 11 Oct 2026 · github.com
Gradle integration
The README documents invoking ts-proto through the protobuf-gradle-plugin.Read 5 Oct 2026 · github.com
Install and use
The quick start installs ts-proto with npm and invokes it as a protoc plugin.Read 5 Oct 2026 · github.com
RPC scope
The README says ts-proto is not an out-of-the-box RPC framework.Read 11 Oct 2026 · github.com
Runtime reflection
The project supports compile-time .proto-to-.ts code generation and does not support runtime reflection or loading of dynamic .proto files.Read 11 Oct 2026 · github.com
Serialization
Version 2.x migrated low-level protobuf serialization from protobufjs to @bufbuild/protobuf.Read 11 Oct 2026 · github.com
Service clients
It generates service types and client implementations for Twirp, grpc-web, grpc-js, and NestJS.Read 5 Oct 2026 · github.com
Service support
It generates service types and client implementations for Twirp, grpc-web, grpc-js, and NestJS.Read 11 Oct 2026 · github.com
Type mappings
It maps protobuf timestamps to Date by default and supports configurable representations including strings and Temporal.Instant.Read 11 Oct 2026 · github.com
TypeScript style
The project aims for TypeScript-first, idiomatic output and uses interfaces instead of classes where possible.Read 5 Oct 2026 · github.com
Unsupported clients
The README says it does not support clients for google.api.http-based Google Cloud APIs.Read 5 Oct 2026 · github.com
Unsupported workflow
It supports code generation from .proto files but does not support runtime reflection or loading of dynamic .proto files.Read 5 Oct 2026 · github.com
Well-known types
It converts Protobuf well-known types, including wrapper and Struct types, to corresponding native TypeScript or JSON types.Read 5 Oct 2026 · github.com

Plans and prices

ts-proto Free Apache-2.0 licensed open-source repository Read 11 Oct 2026 · github.com

Every ts-proto plan and price →

Where Specifiction places it

Alternatives to ts-protoAll alternatives →

Nx From $29/mo · Free plan 8.4 Visit