# @herebedragons-studios/ts-decorator-validation

> Simple decorator based validation engine

Latest version **0.5.0** (published 2023-09-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @herebedragons-studios/ts-decorator-validation
pnpm add @herebedragons-studios/ts-decorator-validation
yarn add @herebedragons-studios/ts-decorator-validation
bun add @herebedragons-studios/ts-decorator-validation
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2023-09-29 |
| First published | 2023-09-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.0.0 |
| Dependencies | 1 |
| Unpacked size | 276.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Here Be Dragons Studios |
| Maintainers | herebedragonsstudios |
| Keywords | validation, cross-platorm, customization, open-source, decorators, typescript, custom validation |

## Links

- npm: https://www.npmjs.com/package/@herebedragons-studios/ts-decorator-validation
- Repository: https://github.com/HereBeDragonsStudios/ts-decorator-validation
- Homepage: https://github.com/HereBeDragonsStudios/ts-decorator-validation#readme
- Issues: https://github.com/HereBeDragonsStudios/ts-decorator-validation/issues
- npm.io page: https://npm.io/package/@herebedragons-studios/ts-decorator-validation

## Dependencies (1)

- [reflect-metadata](https://npm.io/package/reflect-metadata.md) ^0.1.13

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.5.0 (latest) — 2023-09-29

## README

![Banner](assets/banner.png)

#### Status
![Main](https://github.com/herebedragonsstudios/ts-decorator-validation/actions/workflows/main.yml/badge.svg)
![Docs](https://github.com/herebedragonsstudios/ts-decorator-validation/actions/workflows/docs.yml/badge.svg)


## 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:
```sh
$ npm install @herebedragons-studios/ts-decorator-validation
```

To install as a dev dependency do:
```sh
$ npm install @herebedragons-studios/ts-decorator-validation --save-dev
```
instead.



![Forks](https://img.shields.io/github/forks/herebedragonsstudios/decorator-validation.svg)
![Stars](https://img.shields.io/github/stars/herebedragonsstudios/decorator-validation.svg)
![Watchers](https://img.shields.io/github/watchers/herebedragonsstudios/decorator-validation.svg)

![Open Issues](https://img.shields.io/github/issues/herebedragonsstudios/decorator-validation.svg)
![Closed Issues](https://img.shields.io/github/issues-closed/herebedragonsstudios/decorator-validation.svg)
![Pull Requests](https://img.shields.io/github/issues-pr-closed/herebedragonsstudios/decorator-validation.svg)
![Maintained](https://img.shields.io/badge/Maintained%3F-yes-green.svg)

[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=herebedragonsstudios&repo=ts-decorator-validation)](https://github.com/herebedragonsstudios/decorator-validation)

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](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black)
![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)
![NodeJS](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white)
![ShellScript](https://img.shields.io/badge/Shell_Script-121011?style=for-the-badge&logo=gnu-bash&logoColor=white)




### Social

[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/tiagovenceslau/)

---
_Source: https://npm.io/package/@herebedragons-studios/ts-decorator-validation · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
