sindresorhus / is-image
Check if a file path is an image
☆93Updated last year
Alternatives and similar repositories for is-image:
Users that are interested in is-image are comparing it to the libraries listed below
- Check if a URL is absolute☆79Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Loosely validate a URL.☆166Updated last year
- Check if your package was installed globally☆70Updated last year
- Check if a string is a valid filename☆61Updated 3 years ago
- Check if a string is HTML☆95Updated last year
- This repository has been archived, use Enquirer instead.☆44Updated 6 years ago
- Get the extension of a given filename or path☆30Updated 6 years ago
- Filter object keys and values into a new object☆101Updated 11 months ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Check if a string is a URL☆85Updated last year
- Replace all substring matches in a string☆88Updated 3 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Convert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar baz faz☆110Updated last year
- Conditional promise chains☆60Updated 4 years ago
- Spawn commands like `child_process.exec` does but return a `ChildProcess`.☆47Updated 7 months ago
- Find the closest package.json file☆163Updated last year
- Move a file - Even works across devices☆199Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Require global npm as a local node module.☆32Updated 3 years ago
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆111Updated 4 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 4 years ago
- Convert RGB color to HEX☆118Updated last year
- Check if a value is a plain object☆102Updated last year