Handle input in a functional style.
Snap together a bunch of little functions to parse FormData
, json strings, or any other value into your desired type!
This module is under active development, but it's still very new! I'm sort of just adding validators as my own need for them arises.
I haven't had time to add usage documentation, but the test suite is pretty comprehensive and gives you a decent idea of how the module should be used.
- Intro in README
- Examples in comments
- Example—how to handle when one field is dependent on the results of another
- Handle when you Run out of Maps