Tokens
These utilities have to do with processing/formatting tokens object.
flattenTokens
Flatten dictionary tokens object to an array of flattened tokens.
stripMeta
Allows you to strip meta data from design tokens, useful if you want to output clean nested formats.
You can define which meta properties to strip or which properties to keep (allowlist / blocklist), in the second options
parameter.
This utility is also used in the 'json'
format.