path-type

Check if a path is a file, directory, or symlink

Browse on unpkg