Skip to content

Commit ef4f1c7

Browse files
committed
Added NPM instructions
1 parent 164d4cc commit ef4f1c7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ Download [JSONSchemaMarkdown.js](https://raw.githubusercontent.com/BrianWendt/js
1010
**NOTE:** JSONSchemaMarkdown.js supports [json-schema.org](https://json-schema.org/) `draft-7`. Previous drafts may not generate documentation correctly.
1111

1212
## Simple Implementation
13+
**NPM Project**
14+
```
15+
npm install json-schema-md-doc
16+
```
17+
18+
```javascript
19+
import { JSONSchemaMarkdown } from "json-schema-md-doc";
20+
```
21+
or
1322
**HTML**
1423
``` html
1524
<script src="https://brianwendt.github.io/json-schema-md-doc/lib/JSONSchemaMarkdown.js"></script>

0 commit comments

Comments
 (0)