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