@bcts/envelope-pattern
v1.0.0-alpha.16
Published
Pattern matching for Gordian Envelope structures
Readme
Blockchain Commons Pattern Matcher for Gordian Envelope (TypeScript)
Disclaimer: This package is under active development and APIs may change.
Introduction
@bcts/envelope-pattern provides a powerful pattern matching language for querying and extracting data from Gordian Envelope structures. It extends the dCBOR pattern matching capabilities with envelope-specific patterns for subjects, predicates, objects, assertions, and wrapped envelopes.
The pattern language is designed to be expressive yet concise, allowing you to match complex nested envelope structures with simple pattern expressions.
Rust Reference Implementation
This TypeScript implementation is based on bc-envelope-pattern-rust v0.11.0 (commit).
