@bcts/dcbor-pattern
v1.0.0-alpha.16
Published
Pattern matching for dCBOR (Deterministic CBOR) for TypeScript
Downloads
774
Maintainers
Readme
Blockchain Commons Pattern Matcher for dCBOR (TypeScript)
Disclaimer: This package is under active development and APIs may change.
Introduction
@bcts/dcbor-pattern provides a powerful pattern matching language for querying and extracting data from dCBOR (Deterministic CBOR) structures. It supports value matching, structural patterns, and meta-patterns with named captures.
The pattern language is designed to be expressive yet concise, allowing you to match complex nested structures with simple pattern expressions.
Rust Reference Implementation
This TypeScript implementation is based on bc-dcbor-pattern-rust v0.10.0 (commit).
