Skip to content

aishee/json-to-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

json-to-md

Convert Json Schema to MarkDown

using

Clone into folder modules

Use it like this:

var parse = require('json-to-md')
var schema = // An object that is a valid JSON Schema
var markdown = parse(schema)

A JSON file:

{
	"$schema": "http://example.com#",
	"title": "Example",
	"description": "This Json file.",
	"type": "object",
	"properties": {
		"price": {
			"description": "Testing.....",
			"type": "number"
		}
	}
}

The output would be:

# Example Schema

This Json file.

The schema defines the following properties:

## `price` (number)

Testing.....

About

Convert Json Schema to MarkDown

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published