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.

6 lines (5 loc) 259 B
import type { JsonObj } from './builder'; declare const getMDFiles: (path: string) => string[]; declare const ppJSON: (obj: JsonObj) => string; declare const writeJSON: (outputPath: string, jsonObj: JsonObj) => void; export { ppJSON, getMDFiles, writeJSON };