sindresorhus / is-imageLinks
Check if a file path is an image
☆94Updated last year
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☆79Updated 3 years ago
- Loosely validate a URL.☆166Updated last year
- Filter object keys and values into a new object☆101Updated last year
- Check if a string is HTML☆95Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Generate a unique random string☆85Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the extension of a given filename or path☆30Updated 7 years ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Import a globally installed module☆58Updated last year
- Check if your package was installed globally☆70Updated last year
- Sort the keys of an object☆103Updated 9 months ago
- Check if a string is a valid filename☆62Updated 3 years ago
- Find the closest package.json file☆164Updated 2 weeks ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆63Updated 3 years ago
- Read a package.json file☆169Updated last year
- Replace all substring matches in a string☆88Updated 3 years ago
- Parse milliseconds into an object☆119Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last year
- Convert HTML entities to HTML characters, e.g. `>` => `>`.☆39Updated 3 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Updated 4 years ago
- Start a promise chain☆58Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 2 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆145Updated 2 years ago
- Strip leading whitespace from each line in a string☆137Updated 3 years ago
- Get a random temporary file path☆80Updated 2 years ago