@tvenceslau/decorator-validation
v2.1.3
Published
Simple decorator based validation engine
Downloads
187
Maintainers
Readme
Status
Simple Model Validation Engine
Decorator based
Simple implementation of a Typescript decorator based validation system.
Meant to be easily extended, customized and integrated with the browser's input validation mechanisms
Provides access to common features in other languages:
- Model serialization/deserialization;
- Model Hashing;
- Model Equality;
- TODO: Model Deep Cloning
Repository Structure
decorator-validation
│
│ .gitignore <-- Defines files ignored to git
│ .gitlab-ci.yml <-- GitLab CI/CD config file
│ gulpfile.js <-- Gulp build scripts. used in the 'build' and 'build:prod' npm scripts
│ jest.config.js <-- Tests Configuration file
│ jsdocs.json <-- Documentation generation configuration file
│ LICENCE.md <-- Licence disclamer
│ nodemon.json <-- Nodemon config file (allows to live test ts files)
│ package.json
│ package-lock.json
│ README.md <-- Readme File dynamically compiled from 'workdocs' via the 'docs' npm script
│ tsconfig.json <-- Typescript config file. Is overriden in 'gulpfile.js'
│
└───bin
│ │ tag_release.sh <-- Script to help with releases
│
└───docs
│ │ ... <-- Dinamically generated folder, containing the compiled documentation for this repository. generated via the 'docs' npm script
│
└───src
│ │ ... <-- Source code for this repository
│
└───tests
│ │ ... <-- Test sources for this repository
│
└───workdocs <-- Folder with all pre-compiled documentation
| │ ...
| │ Readme.md <-- Entry point to the README.md
|
└───dist
| | ... <-- Dinamically generated folder containing the bundles for distribution
|
└───lib
| ... <-- Dinamically generated folder containing the compiled code
Repository Languages