# mtth/avsc

Avro for JavaScript :zap:

Repository: https://github.com/mtth/avsc
Canonical: https://ross.abutalabs.com/products/avsc
Language: JavaScript
License: MIT
License Family: permissive
Topics: avro, serialization, javascript, typescript, schema-evolution, big-data, binary-format, encoding
Last push: 2026-02-22T22:20:04+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 68, release rhythm 8, longevity 100
- inputs: {"age_days": 4008, "days_push": 192, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1384, forks 156 (observed 2026-08-28T04:04:34.704830+00:00)

## What it is
A pure JavaScript implementation of the Apache Avro serialization specification for Node.js and browsers. It provides fast, compact binary encoding and decoding of values against Avro schemas, with support for schema evolution, type inference, logical types, and Avro container file decoding.

## Use cases
- encode and decode records with avro schemas in node.js
- serialize data to compact binary format faster than
- read avro container files as a stream of decoded values
- infer an avro schema from a javascript object
- handle schema evolution between writers and readers
- serialize arbitrary javascript objects with logical types
- use avro messaging with kafka from javascript

## When to choose
- you need Avro serialization in JavaScript or TypeScript
- you want compact binary encodings smaller and faster than JSON
- you need to decode Avro object container files
- you require schema evolution and type inference support

## When to avoid
- you only need simple JSON serialization
- you need Avro RPC support in a non-JavaScript runtime
- you need a full Avro IDL compiler with first-class tooling

## Facets
- artifact type: library
- maturity: stable
- function: serialization, parser
- domain: big-data, developer-tools
- platform: browser
- tags: avro, schema-evolution, binary-format, encoding, decoding, typescript, data-engineering, nodejs, javascript

## Member repositories
- mtth/avsc (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:34.704830+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:59.371320+00:00, confidence not recorded.
  - readme: https://github.com/mtth/avsc (fetched 2026-08-28T04:04:34.704830+00:00, sha 69adc02a44bc)
  - registry_npm: https://registry.npmjs.org/avsc (fetched 2026-08-29T11:55:57.030562+00:00, sha b3c92b845d90)
- Data as of 2026-08-30T08:39:29.467469+00:00.
