UNPKG

tooner

Version:

Token-efficient serialization for LLMs - Convert JSON/YAML/TOML to TOON format

13 lines (10 loc) 342 B
import { E as EncodeOptions, D as DecodeOptions } from './types-C_0Zea-f.cjs'; /** * Encode YAML string to TOON format */ declare function encode(yaml: string, options?: EncodeOptions): string; /** * Decode TOON format to YAML string */ declare function decode(toon: string, options?: DecodeOptions): string; export { decode, encode };