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
- 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 value is an object☆40Updated 4 years ago
- Strip the final newline character from a string/buffer☆36Updated 9 months ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Clone and modify a RegExp instance☆22Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated last year
- Check if something is a generator function☆22Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Transform the first chunk in a stream☆26Updated last year
- Check if a path is the current working directory☆20Updated 3 months ago
- Get the version of a binary in semver format☆41Updated last year
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Trim newlines from the start and/or end of a string☆48Updated 2 years ago
- Repeat a string - fast☆34Updated 4 years ago
- Get the PATH environment variable key cross-platform☆43Updated last year
- Lowercase the keys of an object☆40Updated 2 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆63Updated 4 years ago
- Check if argv has a specific flag☆94Updated 4 years ago
- Split a string at one or more indices☆23Updated 4 years ago
- Modern version of duplexer2☆15Updated 2 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 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