Vgbvcf's picture
download
raw
439 Bytes
// Reference: https://github.com/andrejewski/himalaya — rewritten in TypeScript with simplified functionality
import { lexer } from './lexer';
import { parser } from './parser';
import { format } from './format';
import { toHTML } from './stringify';
export type { AST } from './types';
export const toAST = (str: string) => {
const tokens = lexer(str);
const nodes = parser(tokens);
return format(nodes);
};
export { toHTML };

Xet Storage Details

Size:
439 Bytes
·
Xet hash:
56de7549b24bf997a34101feff3dea048263ad03dab19101a91dbeeb1aebe331

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.