convict-doc
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

convict-doc

converts a Convict schema into rendered documentation. At this Moment it will be rendered as a markdown table.

Perhabs in the future other formats are added.

Usage

Simply pass the Convict schema object into the renderDoc-function

import {renderDoc} from "convict-doc"

const configSchema: Convict.Schema<YourSchema>;

const documentation = renderDoc(configSchema)

console.log(documentation)

Package Sidebar

Install

npm i convict-doc

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

38.2 kB

Total Files

22

Last publish

Collaborators

  • sengmann