arasatasaygin / is.js

Micro check library
http://is.js.org
MIT License
9.16k stars 625 forks source link

numericality #293

Open paulomcnally opened 6 years ago

paulomcnally commented 6 years ago

These validations are important:

ironmaniiith commented 6 years ago

Could be implemented using the combinations of is.under or is.above with is.equal (in case of equality)

paulomcnally commented 6 years ago

How would you use if you want to validate a password that is greater than 6 and less than 255 characters?

const is = require('is_js');
const password = 'abcde';