lex-model-validator
v1.0.1
Published
Validate lex-language-models with ease.
Downloads
76
Maintainers
Readme
lex-model-validator
Validate Amazon Lex models with ease.
This package checks for all possible errors Amazon Lex could throw while importing, building or even running your language model.
Quickstart / Installation
to install it locally
npm install lex-model-validator
or globally
npm install -g lex-model-validator
Then you can use the following command to use the CLI.
lex-model-validator ./path/to/file
CLI
lex-model-validator <path-to-file> [-v|--verbose]
[] = optional
API
The validator can be used programmatically.
To do that you have to instantiate a new instance of LexModelValidator
.
This instance has a function called validateJson(json)
which is the main entry point to use the validator. Pass in an object and the validator do the work.
TO-DO
Improve Readme