🧘♂️600b validation library with support for custom handlers and messages.
MIT License
Bot releases are hidden (Show)
Published by ooade over 4 years ago
key must be a $dataType
, we throw key is expected to be of type "$dataType"
.$value does not satisfy the domain $domainName
, we return $value assigned to $key does not satisfy the $domainName domain
which is a lot clearer as you get to know the exact defaulter in a large codebase.The test file is a lot cleaner now with more test cases than the previous versions.
Published by ooade over 4 years ago
v0.2.0 ships in really exciting features such as:
You can go through the README and test files for implementation details.