file-type
Detect the file type of a file, stream, or data
typical
Isomorphic, functional type-checking for Javascript
is-stream
Check if something is a Node.js stream
kind-of
Get the native type of a value.
path-type
Check if a path is a file, directory, or symlink