sindresorhus / is-jpgLinks
Check if a Buffer/Uint8Array is a JPEG image
☆26Updated 3 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 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
- Check if a path is a file, directory, or symlink☆78Updated 11 months ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if a path is the current working directory☆19Updated 2 months ago
- Check if a value is an object☆40Updated 4 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆47Updated 3 years ago
- Create ansi colors by passing open and close codes.☆19Updated last year
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆63Updated 3 years ago
- Check if something is a generator function☆22Updated 3 years ago
- Repeat a string - fast☆34Updated 4 years ago
- Check if argv has a specific flag☆95Updated 3 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Check if a file path is a binary file☆46Updated last year
- Strip the final newline character from a string/buffer☆36Updated 8 months ago
- Check if a path is in the current working directory☆21Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Object.keys shim☆45Updated 2 months ago
- Recursively flatten an array or arrays. This is the fastest implementation of array flatten.☆59Updated 3 years ago
- Check if a file path is a compressed file☆17Updated last year
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Clone and modify a RegExp instance☆22Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago