Check if a file path is an archive file
MIT License
Bot releases are hidden (Show)
Published by sindresorhus over 5 years ago
Breaking:
Enhancements:
https://github.com/sindresorhus/is-archive/compare/1.0.1...v2.0.0
Check if a string is HTML
Check if a filepath is a video file
Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Check if a value is a Blob
List of text file extensions
Check if a file path is a text file
Check if a path is a file, directory, or symlink
Check if a file path is an image
List of compressed file extensions
List of archive file extensions
Check if a path exists
List of binary file extensions
Check whether a file can be executed
Check if a file path is a binary file