cerberus-validator
TypeScript icon, indicating that this package has built-in type declarations

0.11.0 • Public • Published

Cerberus

Build Status npm GitHub npm collaborators

Javascript validations made easy.

Vision

Unlike other validation packages the vision of this package is to reduce the number of lines written for validations and other information to be retrieved from data.

Requirements

Cerebrus runs on bare NodeJS(v6.0) or later. Cerebrus tests configured to run on Nodejs v6.0 - v12.0. Check travis CI build for test runs.

Installation

Install this package using npm i cerberus-validator.

The library can also be installed through bower

bower install cerberus-validator

Testing

Cereberus uses assert library from NodeJS and use mocha for test runners.

For running tests install mocha by using npm i mocha -g and run mocha from root of the project.

TODO

  • Move to Promise based library.

Using it on your browser

You can use cerberus in your browser by simply importing it.

    <script src="bundle/main.js"></script>

Examples

View examples in example.md

Readme

Keywords

Package Sidebar

Install

npm i cerberus-validator

Weekly Downloads

2

Version

0.11.0

License

GNU GENERAL PUBLIC LICENSE

Unpacked Size

382 kB

Total Files

122

Last publish

Collaborators

  • jithinqw