paperhive/fefe
View on GitHub ↗ ★ 39 TypeScript
Validate, sanitize and transform values with proper TypeScript types and zero dependencies.
5 mentions on Hacker News by 3 people: 1 story, 4 comments · first 2019-01-08 · latest 2021-06-26
20082026
-
For js / typescript I like: https://github.com/paperhive/fefe basically ist’s just functions that take a value of one type and return a other one
comment by errnesto · 2021-06-26 · in Parse, Don't Validate (2019) -
For TypeScript there is the pure functional https://github.com/paperhive/fefe Less boilerplate than the other solutions I know... for example it allows you to define types easily just by writing a parser/validator ("transformation" in fefe…
comment by andrenarchy · 2021-05-16 · in Parsix: Parse Don't Validate -
…data at some point anyway). As for libraries, I want composable parsers. For TS I'd probably use: https://github.com/paperhive/fefe/
comment by Zinggi · 2020-04-16 · in Show HN: Verify JSON using minimal schema -
You can also use fefe ( https://github.com/paperhive/fefe/ ) to validate any data with its pure functional and minimalist approach. Bonus: it's 100% type-safe automatically if you use Typescript.
comment by andrenarchy · 2020-04-16 · in Show HN: Verify JSON using minimal schema