validatorJS -Nummer
const validationRule = 'required|numeric';
florinrelea
const validationRule = 'required|numeric';
var validator = require('validator');
validator.isEmail('[email protected]'); //=> true