UNPKG

extwee

Version:

A story compiler tool using Twine-compatible formats

13 lines (12 loc) 310 B
/** * Encode HTML entities * @param {string} str - String to encode * @returns {string} Encoded string */ export function encode(str: string): string; /** * Decode HTML entities * @param {string} str - String to decode * @returns {string} Decoded string */ export function decode(str: string): string;