Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit 5ea8bd9

Browse files
author
Morten Christensen
committed
Doc fix
1 parent dd2db83 commit 5ea8bd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ and with a modern es6 capable browser.
1313

1414
## Getting started
1515

16+
```npm install json-schema-js-gui-model```
17+
1618
Schemas can be translated using the exported GuiModelMapper class or by the the command line
1719
command *mapToGuiModel* when the library is installed with -g option by npm.
1820

19-
```npm install json-schema-js-gui-model```
20-
2121
Code:
2222
```typescript
2323
import { GuiModelMapper, GuiModel, JsonSchema } from 'json-schema-js-gui-model';
@@ -40,7 +40,7 @@ contain any validation elements.
4040

4141
The constructed UI should still use the json schema for validation purposes. If the form is
4242
carefully constructed the output will conform to the underlaying json schema when valid. A fast
43-
schema validator like [ajv](https://github.com/epoberezkin/ajv) can easily do validation of a from
43+
schema validator like [ajv](https://github.com/epoberezkin/ajv) can easily do validation of a form
4444
in realtime at each keypress if necessary.
4545

4646
## Example from schema to gui model to ui form:

0 commit comments

Comments
 (0)