tooner
Version:
Token-efficient serialization for LLMs - Convert JSON/YAML/TOML to TOON format
14 lines (11 loc) • 391 B
TypeScript
import { E as EncodeOptions, D as DecodeOptions } from './types-C_0Zea-f.js';
/**
* Encode TOML string to TOON format
*/
declare function encode(toml: string, options?: EncodeOptions): string;
/**
* Decode TOON format to TOML string
* Note: TOML stringification not implemented yet
*/
declare function decode(toon: string, options?: DecodeOptions): string;
export { decode, encode };