@vestlang/core
v0.1.2
Published
Open Cap Table Coalition aligned interchange engine for vesting schedules.
Downloads
880
Maintainers
Readme
@vestlang/core
The reference compiler for the vestlang canonical interchange — the Open Cap Table Coalition aligned schema for expressing a vesting schedule as storable data.
Given a canonical schedule template and its runtime inputs (start anchor, share count, fired events), core compiles it, validates its structure, and reports template-space diagnostics. It is the piece that makes a canonical template interoperable: without an agreed compiler, two systems reading the same template can disagree on rounding, day-of-month, cliff, and re-anchoring.
npm install @vestlang/coreShips both ESM and CommonJS, so it works under import and require alike.
Looking for the DSL?
Most users want @vestlang/vestlang —
the batteries-included entry point. It layers the vesting DSL (combinators like
LATER OF / EARLIER OF, event gates, contingent starts) and the evaluator on
top of this compiler, and re-exports core as core. Reach for @vestlang/core
directly when you only need the canonical compiler, without the DSL front-end.
License
MIT
