- clone repository
- run
npm i - run
node src/app1-es5/index.jsto run simple example of usage with ES5. - run
node src/app2-es5-json-schemas/index.jsto run example of usage with ES5 + schemas defined in a JSON. - run
node src/app3-es6/index.jsto run simple example of usage with ES6.
If you are looking for more advanced JavaScript example with latest ES features and Babel used see here.