@snowsvex/snowsvex
Version:
The Svexiest static site generator in town
13 lines (12 loc) • 343 B
TypeScript
import 'svelte/register';
/**
*
* @param str -- string of file to get frontmatter from
*/
export declare function getFrontmatter(str: string): Promise<Record<string, unknown>>;
/**
*
* @param file -- filepath
* @param layout -- svelte file path for layout
*/
export declare function compile(file: string, layout: string): Promise<any>;