# simple-validation-tools

> I created this library because there was room in my toolbox for my own fairly simple validation tools for TypeScript.

Latest version **1.4.15** (published 2022-09-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install simple-validation-tools
pnpm add simple-validation-tools
yarn add simple-validation-tools
bun add simple-validation-tools
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.15 |
| Published | 2022-09-08 |
| First published | 2021-01-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 84 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | gonz_ |

## Links

- npm: https://www.npmjs.com/package/simple-validation-tools
- npm.io page: https://npm.io/package/simple-validation-tools

## Recent versions

- 1.4.15 (latest) — 2022-09-08
- 1.4.14 — 2022-09-08
- 1.4.13 — 2022-04-20
- 1.4.12 — 2021-07-25
- 1.4.11 — 2021-07-25
- 1.4.10 — 2021-07-25
- 1.4.9 — 2021-07-24
- 1.4.8 — 2021-07-24
- 1.4.7 — 2021-07-24
- 1.4.6 — 2021-07-24
- 1.4.5 — 2021-06-04
- 1.4.4 — 2021-06-04
- 1.4.3 — 2021-06-04
- 1.4.2 — 2021-06-04
- 1.4.1 — 2021-06-02
- … 3 more at https://npm.io/package/simple-validation-tools/versions

## README

# simple-validation-tools

I created this library because there was room in my toolbox for my own fairly simple validation
tools for TypeScript.

## What does simple mean?

In this case it means the implementation is small, has no dependencies outside of TypeScript, a
small module footprint and really only necessary abstraction such that you don't have to jump
through 15 abstractions to see what something is and how it works.

## There's a lot of boilerplate needed

Yes, I haven't done anything to reduce the need for an explicit interface, explicit type predicate
and explicit constructors for those interfaces.

## Interfaces and type predicates can differ and we get no compiler help

Use code generation:

[gotyno-hs](https://github.com/GoNZooo/gotyno-hs) provides a compiler for type definitions that
uses this library to generate all of the validators, etc.

---
_Source: https://npm.io/package/simple-validation-tools · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
