@polyhymnia/mnx
v0.3.0
Published
MNX (W3C) score format: pinned schema, generated types, readMnx, rational time, scoped element ids and applyIntent edits.
Readme
@polyhymnia/mnx
The MNX score format for TypeScript: the pinned JSON schema, generated types, readMnx (version check), rational time maths, scoped element ids and applyIntent edits.
npm install @polyhymnia/mnximport { readMnx } from '@polyhymnia/mnx';
import { applyIntent } from '@polyhymnia/mnx/edit';
import schema from '@polyhymnia/mnx/schema' with { type: 'json' };
const { doc, diagnostics } = readMnx(json);MIT licensed. Source: https://github.com/adrian729/notation
