node/javascript
showcases the usage in Node.js JavaScriptexample.cjs
targets JavaScript, "commonjs" style.example.mjs
targets JavaScript, "module" style.
node/typescript
showcases the usage in Node.js TypeScriptexample.cjs
targets JavaScript, "commonjs" style - from TypeScript^3.8 || ^4 || ^5
.example.mjs
targets JavaScript, "module" style - from TypeScript^4 || ^5
.
web/parcel
showcases the usage in web browser when compiled by Parcel:src/index.html
will be compiled to
dist/index.html
and runs in any web browser.
web/webpack
showcases the usage in web browser when compiled by Webpack:src/index.js
will be compiled, so that it can be embedded by
dist/index.html
and runs in any web browser.
The models
test data holds also examples for complete structures
with all possible use cases, all nesting, and advanced complexity.