file-type
Detect the file type of a file, stream, or data
is-data-descriptor
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
is-accessor-descriptor
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
is-descriptor
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
superstruct
A simple and composable way to validate data in JavaScript (and TypeScript).