liquidjs
Version:
A simple, expressive, extensible Liquid template engine for JavaScript — Shopify, Jekyll and GitHub Pages compatible, for Node.js, browsers, and the CLI, with TypeScript support.
15 lines (14 loc) • 509 B
TypeScript
export declare const url_decode: (x: string) => string;
export declare const url_encode: (x: string) => string;
export declare const cgi_escape: (x: string) => string;
export declare const uri_escape: (x: string) => string;
declare const rSlugifyReplacers: {
raw: RegExp;
default: RegExp;
pretty: RegExp;
ascii: RegExp;
latin: RegExp;
none: null;
};
export declare function slugify(str: string, mode?: keyof typeof rSlugifyReplacers, cased?: boolean): string;
export {};