Repository navigation
@textmode/document 1.1.0
This is the first public GitHub release of @textmode/document.
The npm package version is 1.1.0. The document format defined by this package is textmode.document@3.0.0; package and format versions are independent.
Highlights
- Defines a portable, versioned JSON format for textmode artwork.
- Includes the v3 specification, versioned JSON Schemas, TypeScript types, and a dependency-free ESM decoder for browsers and Node.js.
- Decodes v3 documents, supported v2 documents, and
textmode.layer@1.0.0andtextmode.layer@1.1.0files into canonical v3 data. - Reports structured validation errors and migration warnings, and supports configurable resource limits.
Install
npm install @textmode/document@1.1.0The package requires Node.js 24 or later. Its ESM decoder has no runtime dependencies.