Skip to content

@textmode/document 1.1.0

Choose a tag to compare

@humanbydefinition humanbydefinition released this 27 Oct 00:20

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.0 and textmode.layer@1.1.0 files into canonical v3 data.
  • Reports structured validation errors and migration warnings, and supports configurable resource limits.

Install

npm install @textmode/document@1.1.0

The package requires Node.js 24 or later. Its ESM decoder has no runtime dependencies.

Documentation