sindresorhus / is-jpgLinks
Check if a Buffer/Uint8Array is a JPEG image
☆27Updated 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☆29Updated 3 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated last year
- 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☆56Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 11 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆64Updated last month
- Check if a value is an object☆41Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 3 years ago
- Check if a path is the current working directory☆21Updated 5 months ago
- Get the version of a binary in semver format☆41Updated last year
- Lowercase the keys of an object☆40Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 3 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Filter object keys and values into a new object☆104Updated last year
- Split a string at one or more indices☆24Updated 4 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Check if a string matches the name of a Node.js builtin module☆61Updated 7 months ago
- Create a Vinyl file from an actual file☆42Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Clone and modify a RegExp instance☆23Updated 3 years ago
- Create an array without duplicates☆73Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆39Updated last year
- Check if a value is a regular expression☆25Updated 3 years ago
- Check if a file path is a compressed file☆19Updated last year
- Get the default browser☆56Updated last year