Check whether a file can be executed
MIT License
Bot releases are visible (Hide)
Published by sindresorhus over 1 year ago
engines
https://github.com/sindresorhus/is-executable/compare/v2.0.0...v2.0.1
Published by sindresorhus about 2 years ago
Check if a string is HTML
Check if a file path is an archive file
Check if a string matches the name of a Node.js builtin module
Check if a file path is a binary file
Check whether a binary version satisfies a semver range
Check if a path is a file, directory, or symlink
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
Check if an app exists on macOS
Check if a path exists
Check if the process is running as root user, for example, one started with `sudo`
Check if a file path is a text file
Check if a filepath is a video file
Check if something is a generator function
Check if a file path is an image