joi
joi copied to clipboard
The most powerful data validation library for JS
### Runtime Node.js ### Runtime version v20.4 ### Module version 17 ### Used with standalone ### Any other relevant information _No response_ ### How can we help? Hi, struggling to...
### Runtime browser ### Runtime version 125 ### Module version 17.13.0 ### Used with standalone ### Any other relevant information _No response_ ### What problem are you trying to solve?...
### Runtime nodejs ### Runtime version 17.13.1 ### Module version 17.13.1 ### Last module version without issue _No response_ ### Used with hapi ### Any other relevant information Used with...
### Runtime node.js ### Runtime version 20 ### Module version 17.13 ### Used with standalone ### Any other relevant information _No response_ ### How can we help? I would like...
### Module version 17.13.0 ### What documentation problem did you notice? The documentation on extending joi is not really helpful in writing new rules, nor does it explain how to...
### Runtime node ### Runtime version 18.19.0 ### Module version 17.12.2 ### Used with React TS ### Any other relevant information _No response_ ### How can we help? Hello! I'm...
### Runtime node ### Runtime version v20.12.1 ### Module version 17.12.3 ### Last module version without issue 14.3.1 ### Used with standalone ### Any other relevant information _No response_ ###...
The **value** property returned from `.validate` is always _any_, which forces casting to the expected type. The value should always be known (_TSchema_) and the **error** property will be _optional_,...