Home > Engineering > Infrastructure > bare-for-pear > avsc

avsc — Avro Type System

Reference for avsc — a complete pure JavaScript implementation of the Apache Avro specification, forked and adapted for the Bare runtime.


What avsc Is

avsc is a complete implementation of the Apache Avro specification in pure JavaScript. Types, serialization, schema evolution, container files, IDL parsing — the full specification surface in a single library.

Forked from mtth/avsc and barified for the Bare runtime.

Source: github.com/bare-for-pear/avsc Upstream: github.com/mtth/avsc

What the Fork Changes

The fork replaces Node.js built-in modules with Bare equivalents. The Avro API is unchanged.

Concern Upstream Fork
Crypto crypto bare-crypto
Filesystem fs bare-fs
Path path bare-path
Streams stream bare-stream

Additional adaptations:

The public API surface is identical to upstream. All upstream documentation applies.

Reference Pages

Library Reference

The library’s own reference site: bare-for-pear.github.io/avsc — plain API documentation without architectural context.