@tvenceslau/decorator-validation
TypeScript icon, indicating that this package has built-in type declarations

2.1.3 • Public • Published

Banner

Licence GitHub language count GitHub top language CodeQL

Status

Build

coverage

Main Docs

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

JavaScript TypeScript NodeJS ShellScript

Related

Social

LinkedIn

Package Sidebar

Install

npm i @tvenceslau/decorator-validation

Weekly Downloads

6

Version

2.1.3

License

MIT

Unpacked Size

715 kB

Total Files

151

Last publish

Collaborators

  • tvenceslau