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
- Get the extension of a given filename or path☆30Updated 6 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Get the real path of the system temp directory☆83Updated 2 years ago
- Generate a unique random string☆85Updated 2 years ago
- Filter object keys and values into a new object☆101Updated 8 months ago
- Loosely validate a URL.☆166Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Check if a URL is absolute☆78Updated 3 years ago
- Spawn commands like `child_process.exec` does but return a `ChildProcess`.☆47Updated 4 months ago
- Trim newlines from the start and/or end of a string☆48Updated last year
- This repository has been archived, use Enquirer instead.☆44Updated 6 years ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Check if a value is a plain object☆102Updated 8 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- 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 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 3 years ago
- Replace all substring matches in a string☆88Updated 3 years ago
- An implementation of window.fetch in Node.js using Minipass streams☆55Updated 3 months ago
- Check if a string is a valid filename☆61Updated 3 years ago
- Conditional promise chains☆60Updated 3 years ago
- Write data to a random temporary file☆105Updated 6 months ago
- Convert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar baz faz☆109Updated last year
- Find the closest package.json file☆162Updated last year
- Sort the keys of an object☆102Updated 4 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if a string is HTML☆95Updated 10 months ago