sindresorhus / is-jpg
Check if a Buffer/Uint8Array is a JPEG image
☆26Updated 2 years ago
Alternatives and similar repositories for is-jpg
Users that are interested in is-jpg are comparing it to the libraries listed below
Sorting:
- Check if a Buffer/Uint8Array is a GIF image☆28Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Strip the final newline character from a string/buffer☆36Updated 6 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆62Updated 3 years ago
- Add `module.exports` for Babel and TypeScript compiled code☆35Updated last year
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Check if a path is the current working directory☆19Updated last week
- Import a globally installed module☆58Updated last year
- Check if something is a promise☆46Updated 4 years ago
- Simple wildcard matching☆34Updated 3 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Check if a file path is a compressed file☆17Updated last year
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Get the version of a binary in semver format☆42Updated last year
- Resolve the path of a globally installed module☆41Updated last year
- Create an array without duplicates☆71Updated 4 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 2 years ago
- ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.☆25Updated last year
- Rename a function☆46Updated last year
- Create a MD5 hash with hex encoding☆45Updated last year
- Check if a file path is a binary file☆44Updated last year
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago