You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> TypeScript types for the Design Tokens Community Group (DTCG) 2025.10 format and resolver schemas.
8
+
> TypeScript types and runtime tools for the [Design Tokens Community Group](https://www.designtokens.org/) (DTCG) 2025.10 format and resolver schemas.
9
9
10
10
## Features
11
11
12
-
-Type-only package with no runtime API
13
-
-Root exports for `Format`, `Resolver`, and related schema types
14
-
-Subpath exports for specific token, group, resolver, and value types
12
+
-**Types** — Full TypeScript types for the DTCG Format and Resolver specifications, including tokens, groups, sets, modifiers, and value types.
13
+
-**Loader** — Runtime loader that reads DTCG resolver documents, resolves `$ref` sources, and merges token sets into a single token tree. Ships with a Node.js filesystem adapter and a pluggable `LoaderSys` interface for any environment.
14
+
-**Object Model** — Experimental Typed-OM-like API that represents every token, group, and value as a typed node. Supports alias and JSON Pointer reference resolution, cycle detection, and computed value extraction.
15
15
16
16
## Installation
17
17
@@ -21,6 +21,8 @@ npm install dtcg-tools
21
21
22
22
## Usage
23
23
24
+
### Types
25
+
24
26
```ts
25
27
importtype { Format, Resolver, Token } from"dtcg-tools";
0 commit comments