@geometrically/minecraft-motd-parser
Version:
Minecraft Server MOTD Parser, can convert to html, json, text.
18 lines (17 loc) • 707 B
TypeScript
import { htmlStringFormatting, cleanCodes, cleanHtmlTags } from "./utils";
import { JSONToHTML, JSONToCleanedText, textToHTML, textToJSON, JSONRender, autoToHTML, autoCleanToText } from "./parser";
export * from './utils';
export * from "./parser";
declare const motdParser: {
textToHTML: typeof textToHTML;
textToJSON: typeof textToJSON;
JSONToHTML: typeof JSONToHTML;
JSONRender: typeof JSONRender;
autoToHTML: typeof autoToHTML;
htmlStringFormatting: typeof htmlStringFormatting;
cleanCodes: typeof cleanCodes;
cleanHtmlTags: typeof cleanHtmlTags;
JSONToCleanedText: typeof JSONToCleanedText;
autoCleanToText: typeof autoCleanToText;
};
export default motdParser;