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
- Detect the dominant newline character of a string☆55Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆63Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆38Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 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☆41Updated last year
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 10 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
- Transform the first chunk in a stream☆26Updated last year
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 3 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Check if a path is inside another path☆38Updated 3 years ago
- Get the PATH environment variable key cross-platform☆43Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Clone and modify a RegExp instance☆22Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Updated 3 years ago
- Check if something is a generator function☆22Updated 3 years ago
- Modern version of duplexer2☆15Updated 2 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆55Updated 3 years ago
- Simple wildcard matching☆34Updated 3 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated last year
- Get the command from a shebang☆24Updated 4 years ago