tooner
Version:
Token-efficient serialization for LLMs - Convert JSON/YAML/TOML to TOON format
14 lines (11 loc) • 392 B
text/typescript
import { E as EncodeOptions, D as DecodeOptions } from './types-C_0Zea-f.cjs';
/**
* 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 };