3.1.0 • Published 2 years ago

specma v3.1.0

Weekly downloads
29
License
ISC
Repository
github
Last release
2 years ago

Specma

Simple, reusable and composable validation

Specma is a Javascript library to validate any type of value against a simple, reusable and composable spec.

  • Collection specs defined with the exact same shape as the value!
  • Based on predicate functions of type true || "reason"
  • Composable specs with intuitive and/or operators
  • Easy cross-validation between multiple fields
  • User defined customized invalid reasons
  • Async validation out of the box
  • Very small footprint

View complete documentation

3.1.0

2 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.3.5

3 years ago

2.3.4

3 years ago

2.3.3

3 years ago

2.3.2

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.5

3 years ago

2.1.4

3 years ago

2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

4 years ago

1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago