Packages

Serialization & Data Formats Packages

Serialization and data-format libraries for converting between structured data and wire formats (Serde, Protobuf, JSON/YAML/TOML, MessagePack).

487 packages

Packages in Serialization & Data Formats

30Health
Library npm

Partial JSON

Parses incomplete JSON strings streamed token-by-token from an LLM into usable JavaScript values as they arrive.

246
MIT
Used by 10
50Health
Library Go

GoGo Protobuf

A deprecated fork of golang/protobuf adding faster marshaling, custom types, and richer Go code generation for Protocol Buffers.

5,655
BSD 3
Used by 9
72Health
Library Go

image-spec

Canonical Go types and embedded JSON Schema validation for the OCI Image Format specification.

4,502
Apache 2.0
Used by 9
49Health
Library npm

lz-string

Fast, dependency-free LZ-based string compression for JavaScript and TypeScript

4,439
MIT
Used by 9
72Health
Library PyPI

feedparser

Parses RSS, Atom, RDF, CDF, and JSON feeds into one normalized Python dictionary.

2,450
Other
Used by 9
45Health
Library Go

jsonschema

Generate JSON Schema 2020-12 documents from Go types using reflection, struct tags, and doc comments.

965
MIT
Used by 9
39Health
Library npm

base64-js

Pure JavaScript base64 encoding and decoding for byte arrays, with no native dependencies.

878
MIT
Used by 9
31Health
Library npm

base-64

A lightweight, RFC 4648-compliant base64 encoder and decoder for JavaScript, fully compatible with atob() and btoa().

520
MIT
Used by 9
44Health
Library PyPI

pyasn1

Pure-Python implementation of ASN.1 types with BER, CER, and DER serialization codecs.

53
Other
Used by 9
89Health
Library PyPI

brotli

Python bindings for Google's Brotli compression library, offering fast one-shot and streaming encode/decode APIs.

14,976
MIT
Used by 8
98Health
Library Composer

PhpSpreadsheet

Read, write, and manipulate Excel, CSV, and ODS spreadsheet files in pure PHP with no external office suite required.

14,003
MIT
Used by 8
86Health
Library PyPI

json_repair

Repair malformed JSON from LLMs, APIs, logs, and user input — a drop-in fallback for json.loads().

5,124
MIT
Used by 8
90Health
Library PyPI

msgspec

A fast, zero-cost serialization and validation library for JSON, MessagePack, YAML, and TOML in Python.

4,183
BSD 3
Used by 8
55Health
Library Go

go-yaml

A dependency-free, spec-compliant YAML encoder and decoder for Go, built from scratch with AST access, YAML Path queries, and reversible transformations.

2,241
MIT
Used by 8
49Health
Library Go

snappy

Google's Go implementation of the Snappy compression format, with assembly-accelerated block and streaming compression.

1,574
BSD 3
Used by 8
48Health
Library Cargo

rmp-serde

Serde-powered MessagePack serialization and deserialization for Rust

1,426
MIT
Used by 8
38Health
Library Cargo

byteorder

A lightweight Rust library for reading and writing numbers in big-endian and little-endian order

1,101
Other
Used by 8
78Health
Library Go

maxminddb-golang

A high-performance Go library for reading and decoding MaxMind DB (.mmdb) files, including GeoIP2 and GeoLite2 databases.

757
Other
Used by 8
57Health
Library npm

serialize-error

Serialize and deserialize JavaScript Error objects into plain, JSON-safe objects and back.

607
MIT
Used by 8
64Health
Library npm

json-2-csv

Converts arrays of JSON documents to RFC 4180 compliant CSV and back, with native support for nested sub-documents.

460
MIT
Used by 8
44Health
Library Cargo

mime

Strongly typed MIME (HTTP Media Type) parsing and construction for Rust

223
MIT
Used by 8
41Health
Library npm

hast-util-to-html

Serializes hast syntax trees into WHATWG-compliant HTML strings, with fine-grained control over escaping, quoting, and tag omission.

119
MIT
Used by 8
78Health
Library npm

Apache Arrow JS

The official JavaScript/TypeScript implementation of Apache Arrow's columnar in-memory format for fast, zero-copy data interchange.

112
Apache 2.0
Used by 8
94Health
Library Composer

Laravel Excel

Supercharged Excel and CSV exports and imports for Laravel applications

12,701
MIT
Used by 7

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers