zod

TypeScript-first schema declaration and validation library with static type inference

validate-npm-package-license

Give me a string and I'll tell you if it's a valid npm package license string

css-tree

A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations