${apiDetail.name}
${apiDetail.description}
Returns
${dedent(apiDetailsReturns)}
${apiDetail.arguments.length ? `Arguments
- ${renderArguments(apiDetail.arguments).join("")}
"use strict"; // P A C K A G E S const dedent = require("dedent"); const fetch = require("make-fetch-happen").defaults({ cacheManager: "./cache" }); const html = require("choo-async/html"); const raw = require("nanohtml/raw"); // V A R I A B L E const apiFileLink = process.env.NODE_ENV === "development" ? "https://rawgit.com/lbryio/lbry/master/docs/api.json" : "https://cdn.rawgit.com/lbryio/lbry/5b3103e4/docs/api.json" ; // E X P O R T module.exports = exports = () => async () => parseApiFile().then(response => html`
${apiDetail.description}
${dedent(apiDetailsReturns)}
${apiDetail.arguments.length ? `// example(s) for ${apiDetail.name} to come later