2.3.0 • Published 5 years ago

validate.ts v2.3.0

Weekly downloads
13
License
BSD-3-Clause
Repository
-
Last release
5 years ago

Validate.ts

This library is heavily inspired by validate.js. It is a data source agnostic user input validation library.

The public API and how constraints are configured is stolen from validate.js, the internal implementation however is a ground-up rework, to be able to leverage asynchronous values retrieved from promises, and declaratively configure field based data dependency in validators.

Support

The project is fully tested with node 6.x and 7.x and work under those environment it probably works under 4.x and 5.x as well, but the ts-jest does not work with node < 6.x, so the tests will not run through ts-jest. The builded project will propabbly run if using either commonjs (lib) or one of the browser builds through module bundlers, but again I haven't tested it.

WARNING: This readme is far from complete.

2.3.0

5 years ago

2.2.0

5 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago