0.5.0 • Published 7 months ago

@herebedragons-studios/ts-decorator-validation v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Banner

Status

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

Installation

In order to use the package, we need to follow a list of steps presented below.

Step 1: Run npm install

To install as a dependency do:

$ npm install @herebedragons-studios/ts-decorator-validation

To install as a dev dependency do:

$ npm install @herebedragons-studios/ts-decorator-validation --save-dev

instead.

Forks Stars Watchers

Open Issues Closed Issues Pull Requests Maintained

Readme Card

Simple ts template repository

Repository Structure

ts-decorator-validation
│
│   .github                 <-- Workflows folder
│   .gitignore              <-- Defines files ignored to git
│   .nmpignore              <-- Defines files ignored by npm
│   .nmprc                  <-- Defines the Npm registry for this package
│   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

Social

LinkedIn