UNPKG

md-to-json-converter

Version:

Converts your markdown files to a single json file so that you can use it as a static api.

7 lines (6 loc) 248 B
import type { RemarkableParser } from './index'; export interface JsonObj { data: Record<string, unknown>[]; } declare const constructJSONObj: (parser: RemarkableParser, mdFiles: string[], raw: boolean) => JsonObj; export { constructJSONObj };