Skip to main content
Module

x/markdeno/mod.ts>getDocumentationJSONString

MarkDeno is a way to generate documentation in markdown files.
Go to Latest
function getDocumentationJSONString
import { getDocumentationJSONString } from "https://deno.land/x/markdeno@v0.2.1/mod.ts";

Returns an unparsed version of the json object returned by deno doc --json

Examples

const json = await MarkDeno.getDocumentationJSONString("file.ts");

Parameters

input: string

File to document.