Crypto API
    Preparing search index...

    Variable defaultConst

    default: { createMarkdown: typeof createMarkdown; response: typeof response } = ...

    Default utility namespace exposing the primary markdown helpers.

    Type Declaration

    • createMarkdown: typeof createMarkdown

      Converts a Postman-shaped JSON document into a markdown string.

    • response: typeof response

      Writes a markdown string to a file in the docs directory.

    import utils from "./utils";

    const md = utils.createMarkdown(collection);
    await utils.response(md, "api-docs");