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 string is a valid filename☆62Updated 3 years ago
- Check if a string is HTML☆95Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Get the extension of a given filename or path☆30Updated 7 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Sort the keys of an object☆103Updated 8 months ago
- Replace all substring matches in a string☆88Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Loosely validate a URL.☆166Updated last year
- This repository has been archived, use Enquirer instead.☆44Updated 6 years ago
- Find the closest package.json file☆164Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 4 years ago
- Require global npm as a local node module.☆32Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 7 months ago
- Import a globally installed module☆58Updated last year
- Filter object keys and values into a new object☆101Updated last year
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Get the auth token set for an npm registry☆35Updated 3 months ago
- Parse milliseconds into an object☆119Updated last year
- Get the real path of the system temp directory☆83Updated 2 years ago
- Convert a string/Buffer/Uint8Array to a readable stream☆90Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 2 years ago
- Stringify an object sorting scalars before objects, and defaulting to 2-space indent☆25Updated 2 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Write data to a random temporary file☆105Updated 10 months ago