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.
8 lines (7 loc) • 438 B
TypeScript
export declare function resolve(root: string, filepath: string, ext: string): string;
export declare function readFile(url: string): Promise<string>;
export declare function readFileSync(url: string): string;
export declare function exists(filepath: string): Promise<boolean>;
export declare function existsSync(filepath: string): boolean;
export declare function dirname(filepath: string): string;
export declare const sep = "/";