sindresorhus / is-imageLinks
Check if a file path is an image
☆99Updated 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 string is HTML☆95Updated 3 months ago
- Check if a URL is absolute☆80Updated 3 months 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
- Generate a unique random string☆89Updated 3 years ago
- Check if a string is a valid filename☆63Updated 4 years ago
- Loosely validate a URL.☆168Updated 2 years ago
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Sort the keys of an object☆107Updated 4 months ago
- Get the real path of the system temp directory☆84Updated 3 years ago
- Check if a value is a plain object☆103Updated last year
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆110Updated 5 years ago
- Parse milliseconds into an object☆123Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Convert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar baz faz☆111Updated 3 months ago
- Get a random temporary file path☆81Updated 2 years ago
- Check if your package was installed globally☆70Updated 2 years ago
- Move a file - Even works across devices☆204Updated 2 years ago
- Get the path of the parent module☆79Updated 3 months ago
- Check if a string or buffer is SVG☆143Updated 5 months ago
- Replace all substring matches in a string☆90Updated 4 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Updated 4 years ago
- Find the closest package.json file☆166Updated 6 months ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 7 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 3 months ago
- Get the extension of a given filename or path☆30Updated 7 years ago
- Check if a string is a URL☆87Updated 2 years ago
- Get the path of the caller module☆67Updated 4 years ago