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☆30Updated 3 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆39Updated 2 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Strip the final newline character from a string/buffer☆38Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Transform the first chunk in a stream☆28Updated 2 years ago
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Check if a value is an object☆42Updated 4 years ago
- Clone and modify a RegExp instance☆24Updated 3 years ago
- Lowercase the keys of an object☆41Updated 2 years ago
- Get the version of a binary in semver format☆42Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 4 months ago
- Modern version of duplexer2☆16Updated 3 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Updated 3 years ago
- Create a Vinyl file from an actual file☆43Updated 3 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Check if your code is running as an npm or yarn script☆65Updated 4 months ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 3 years ago
- Check if a path is the current working directory☆22Updated 8 months ago
- Split a string at one or more indices☆25Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Updated 3 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Create a MD5 hash with hex encoding☆47Updated 2 years ago
- Check if something is a generator function☆24Updated 3 years ago
- Alphabetically sort an array of strings☆40Updated 4 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆20Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Updated 2 years ago