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
- Find the closest package.json file☆162Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Check if a string is HTML☆95Updated 11 months ago
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Check if a string is a valid filename☆61Updated 3 years ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Loosely validate a URL.☆166Updated last year
- Generate a unique random string☆85Updated 2 years ago
- Import a globally installed module☆57Updated last year
- Get the real path of the system temp directory☆83Updated 2 years ago
- Spawn commands like `child_process.exec` does but return a `ChildProcess`.☆47Updated 5 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Trim newlines from the start and/or end of a string☆48Updated last year
- Get the extension of a given filename or path☆30Updated 6 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆140Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Filter object keys and values into a new object☆101Updated 8 months ago
- Conditional promise chains☆60Updated 3 years ago
- Get the fullname of the current user☆47Updated last year
- Move a file - Even works across devices☆199Updated last year
- Strip the final newline character from a string/buffer☆36Updated 3 months ago
- Check if a value is a plain object☆102Updated 9 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Standard NPM Package Format☆42Updated 2 years ago