sindresorhus / is-imageLinks
Check if a file path is an image
☆98Updated 2 years ago
Alternatives and similar repositories for is-image
Users that are interested in is-image are comparing it to the libraries listed below
Sorting:
- Check if a URL is absolute☆80Updated 2 months ago
- Generate a unique random string☆89Updated 3 years ago
- Filter object keys and values into a new object☆105Updated last year
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Check if your code is running as an npm or yarn script☆65Updated 2 months ago
- Check if a string is a valid filename☆63Updated 4 years ago
- Get the real path of the system temp directory☆84Updated 3 years ago
- Check if a string is HTML☆95Updated 2 months ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Strip leading whitespace from each line in a string☆144Updated last month
- Sort the keys of an object☆107Updated 3 months ago
- Check if a value is a plain object☆103Updated last year
- Move a file - Even works across devices☆204Updated 2 years ago
- Check if your package was installed globally☆70Updated 2 years ago
- Replace all substring matches in a string☆90Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a string☆112Updated 4 years ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Get the extension of a given filename or path☆30Updated 7 years ago
- Find the closest package.json file☆166Updated 6 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 2 months ago
- Parse milliseconds into an object☆123Updated last year
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Spawn commands like `child_process.exec` does but return a `ChildProcess`.☆47Updated last year
- This repository has been archived, use Enquirer instead.☆44Updated 7 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Returns true if the platform is Windows (and Cygwin or MSYS/MinGW for unit tests)☆48Updated 6 years ago
- Convert RGB color to HEX☆122Updated 2 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Loosely validate a URL.☆167Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Updated 4 years ago