zod
TypeScript-first schema declaration and validation library with static type inference
path-type
Check if a path is a file, directory, or symlink
is-stream
Check if something is a Node.js stream
type-detect
Improved typeof detection for node.js and the browser.