1.0.0 • Published 4 years ago

jsonotron-builtin-format-validators v1.0.0

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

A library of field type definitions included with the Jsonotron engine

npm.io npm JavaScript Style Guide

A library of format validator functions that can be used by the Jsonotron system.

Available format validators:

  • jsonotron-local-date-time for dates and times that are based on a local time-zone in the form YYYY-MM-DDTHH:mm:ssZZ. This format must include a +/- xx:xx timezone offset and not end with 'z' or Z.
  • jsonotron-luhn for credit-card numbers.
  • jsonotron-utc-date-time for dates and times that are based on universal co-ordinated time in the form YYYY-MM-DDTHH:mm:ssZ. This format must not include a timezone offset and instead will end with a Z.

Installation

npm install jsonotron-builtin-format-validators --save

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 Integration and Deployment

Any pushes or pull-requests on non-master branches will trigger a test build. Any pushes to master will cause the library to be re-published.

1.0.0

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.7

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago