Skip to content

NanoPack

A lightweight, effortless binary serialization format for C++, Swift, TypeScript, and more to come.

Optimized for read/write performance

While NanoPack is not the most space efficient, it is optimized for serialization/deserialization speed, making it faster than popular serialization formats, such as Protobuf.

Easy schema syntax

NanoPack schema is designed to be easy to read and write. No more field numbers or import statements!

RPC

NanoPack has built-in support for RPC. Define your RPC services in NanoPack schemas, and NanoPack will generate the glue code for setting up RPC clients and servers.

Work in progress!

NanoPack is still a work-in-progress, so expect rough edges, and please don’t hesitate to report any issue you come across!