Converts a JSON Schema object into a human-readable Markdown document. Stable version 1.1.1, low release cadence. Lightweight, synchronous, and easy to use. Does not implement full RFC; focuses on basic schema properties like title, description, type, and properties. Alternative to tools like json-schema-to-markdown-cli or custom templates.
npm install json-schema-to-markdownNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to convert a JSON Schema to a Markdown string using CommonJS require.
Pin to exact version if you rely on markdown structure for parsing or diffing.
Use a more descriptive alias: const toMarkdown = require('json-schema-to-markdown');For newer drafts, consider using a different library or pre-processing the schema.
Parse JSON strings with JSON.parse() before calling parse().
Change to import parse from 'json-schema-to-markdown' or const parse = require('json-schema-to-markdown');Ensure you pass a valid JSON Schema object.
Use JSON.parse(schemaString) before calling parse().
No dependency data recorded yet.