ConstReadonlyb64: (str: string) => stringShorthand base64 string encode in Node.
ReadonlyescapeHtml: (s: string) => stringBasic HTML escaping function that replaces all non-alphanumeric characters with their HTML entity equivalents.
ReadonlyobjToTable: (obj: Record<any, any>, headers?: string[], escape?: boolean) => stringConverts an object to an HTML table string, using each key+value as a row.
Output format looks like this:
<table>
<tbody>
<tr><td><b>KEY:</b></td><td>VALUE</td></tr>
</tbody>
</table>
Utility functions for various operations, mostly related to opinionated HTML formatting.