design-token-library
v0.3.1
Published
A library for managing design tokens
Readme
design-token-library
A TypeScript library for managing design tokens. The API follows the Design Token Community Group (DTCG) format and focuses on type safety, lazy evaluation, and runtime-agnostic behavior.
Features
- Token aliasing and refs with compile-time path checking
- Computed values (recipes) and library extension
- Change subscription and CSS / custom-property export
- DTCG 2025.10 value shapes
Installation
npm install design-token-libraryRequires Node.js 22+ (see engines in package.json).
Documentation
- Getting started & API reference (GitHub Pages)
- Changelog
Development
npm ci
npm run build
npm testContributing guidelines, changelog conventions, and the release process are documented in CONTRIBUTING.md.
