Simple compilation of function for validate type, JSON, ...
- NodeJS 4.2.x
npm install
To initialize an object, you have to pass an instance of cpm-logger :
const Validator = require("cpm-validator");
const logger = require("cpm-logger")(myconfig);
const validator = new Validator(logger);
npm run tests -s
To get coverage with istanbul, you have to run :
npm run tests:coverage -s