oma-json
Version:
JSON schemas description from LwM2M [Open Mobile Alliance](http://www.openmobilealliance.org/wp/OMNA/LwM2M/LwM2MRegistry.html)
47 lines (29 loc) • 581 B
Markdown
# Open Mobile Alliance
JSON schemas description from LwM2M [Open Mobile Alliance](http://www.openmobilealliance.org/wp/OMNA/LwM2M/LwM2MRegistry.html)
---
## Installation
With npm :
```bash
$ npm install oma-json --save
```
Via script tag :
```html
<script src="https://unpkg.com/oma-json"> </script
```
## Linting
With ESLint
```bash
$ npm run lint
```
## Test
```bash
$ npm run test
```
## Generate Open API from OMA models
```bash
$ npm run generate:openapi
```
## Generate Typescript interfaces from Open API schemas
```bash
$ npm run generate:interfaces
```