Key features:
- fix() never fails. It can parse any data. - Types are inferred from the schema. - "null" and "undefined" are transformed to default values. - exclude unwanted properties to prevent code injection.
1 karma · joined March 7, 2024
- fix() never fails. It can parse any data. - Types are inferred from the schema. - "null" and "undefined" are transformed to default values. - exclude unwanted properties to prevent code injection.
I tend to use it in combination with Axios, to ensure the data is formatted in the proper way.