gnt
gnt copied to clipboard
:cocktail: GraphQL Normalized Types
I would love for this packages to be more community driven (even if it becomes an awesome list?). Please let me know which org. is a suitable owner 😄
Normalize to add http:// and validate the format is valid
- Normalize all valid CSS colors to a Hex value (e.g. `red`, `#ff`, `#123`, `rgba(0,0,0,1)` )
Ensure [XSS](https://en.wikipedia.org/wiki/Cross-site_scripting) string value
This is up for discussion. We want a type that comprises all the variations of naming conventions, and normalizes them for display. For example, given versus family name, which to...
Potential options: 1. Roll our own email validator. 2. Use [`email-validator`](https://www.npmjs.com/package/email-validator)