${apiDetail.name}
${apiDetail.description}
${apiDetail.arguments.length ? `Arguments
- ${renderArguments(apiDetail.arguments).join("")}
Returns
${dedent(apiDetailsReturns)}
"use strict"; // P A C K A G E S import dedent from "dedent"; import fs from "graceful-fs"; import html from "choo/html"; import raw from "choo/html/raw"; const fetch = require("make-fetch-happen").defaults({ cacheManager: "./cache" }); // V A R I A B L E const apiScripts = ""; // E X P O R T module.exports = exports = state => { return generate(state.params.wildcard).then(response => { // console.log(response); return html`${response}`; }); // generate(state.params.wildcard, response => html`${response}`); }; /* module.exports = exports = () => state => { console.log(state); parseApiFile(state.params.wildcard).then(response => { return html`
${apiDetail.description}
${apiDetail.arguments.length ? `${dedent(apiDetailsReturns)}
// example(s) for ${apiDetail.name} to come later