Fefe Versions Save

Validate, sanitize and transform values with proper TypeScript types and zero dependencies.

3.2.0

2 years ago

Add objectMap().

3.1.0

3 years ago

Add discriminatedUnion().

3.0.0

3 years ago

This version introduces a breaking change: all validators and transformers now return Result<T> instead of just T to facilitate error handling without throwing errors. To facilitate transition from 2.x to 3.x you can use toThrow() (see README).

3.0.0-beta.4

3 years ago

3.0.0-beta.3

3 years ago

3.0.0-beta.2

3 years ago
  • Add toThrow() #30.
  • Add pipe() #31.

3.0.0-beta.1

3 years ago

Rewrite with pure functional Either<Error, Result> pattern, see #29.

v2.0.2

4 years ago

Fixed

  • Fix missing export of defaultTo. Thx @alanpearce! #13

v2.0.1

4 years ago

Fixed

  • Fix optional() to allow typescript to create optional keys

v2.0.0

4 years ago

Changed

  • Renamed enum to enumerate #11.