swansontec

swansontec/cleaners

Cleans & validates untrusted data, with TypeScript & Flow support

TypeScript
4
1
No license

Cleaners is a lightweight TypeScript/JavaScript library for validating and cleaning untrusted data, particularly useful for processing JSON from external sources. It provides composable "cleaner" functions that validate data formats, insert fallback values, and automatically generate TypeScript/Flow types, making it ideal for developers who need robust data validation with minimal dependencies.

Total donated
Undistributed
Share with your subscribers: