Validation library for node.js. NIV (Node Input Validator) is a validation library for node.js. You can also extend library to add custom rules. For use cases of any rule, please check test cases, If you have any doubt or confusion with documentation or rule behavior.