liquidjs
Version:
A simple, expressive and safe Shopify / Github Pages compatible template engine in pure JavaScript.
14 lines (13 loc) • 432 B
TypeScript
export declare class MapFS {
private mapping;
constructor(mapping: {
[key: string]: string;
});
sep: string;
exists(filepath: string): Promise<boolean>;
existsSync(filepath: string): boolean;
readFile(filepath: string): Promise<string>;
readFileSync(filepath: string): string;
dirname(filepath: string): string;
resolve(dir: string, file: string, ext: string): string;
}