x/readme_manager/render.ts

helps manage and harmonise READMEs in many repositories with template files
Latest
variable render
import { render } from "https://deno.land/x/readme_manager@v3.0.0/render.ts?s=render";

Template rendering function. Uses Eta under the hood.

import { render } from "./render.ts"
const output = await render("/path/to/.README.template.md", "/path/to/", "# my-project", "/path/to/templates/", (errorMsg: string, error: Error) => {})
(
readmeFilePath: string,
readmeDirectoryPath: string,
readmeTemplate: string,
templatesPath: string,
error: (message: string, error?: Error) => void,
) => Promise<string | void>
[src]