validator.js is intentionally careful in what it includes.
This library extends validator.js with a variety of useful ancillary validations.
- general purpose
- not included in recent versions of validator.js
Pass a validator instance to this library:
"use strict";const validatorJS = ;validatorJS;
To run tests, just
$ npm i && npm test.
Development assumes node >= 4.0 (or earlier versions with --harmony flags), but the functions themselves should work in any modern JS environment.
Please see CONTRIBUTING.md.