1.8.1 • Published 4 years ago

sengi-validation v1.8.1

Weekly downloads
14
License
MIT
Repository
github
Last release
4 years ago

Sengi-Validation

npm.io npm JavaScript Style Guide

This library provides validation functions for the (Sengi)https://github.com/karlhulme/sengi document-database system.

It provides functions for checking that a given document adheres to it's document type. It also validates the other resources: enum types, schema types, format validators and role types.

This library can be used to to verify doc types independently of the engine, including as part of a set of automated tests.

Installation

npm install sengi-validation

Development

Code base adheres to the rules chosen by https://standardjs.com/. Code is formatted with 2 spaces.

Tests are written using Jest with 100% coverage.

npm test

Continuous Deployment

Any pushes or pull-requests on non-master branches will trigger the test runner.

Any pushes to master will cause the library to be re-published.

1.8.1

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.1

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago