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
- Detect the dominant newline character of a string☆56Updated 2 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
- Truncate a semver version: 1.2.3 → 1.2.0☆18Updated 3 years ago
- Get the version of a binary in semver format☆42Updated last year
- Create an array with values that are present in the first input array but not additional ones☆41Updated 4 years ago
- Check if a value is an object☆42Updated 4 years 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
- Strip the final newline character from a string/buffer☆38Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Updated 3 months ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Updated 3 years ago
- Transform the first chunk in a stream☆28Updated 2 years ago
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Check if a path is the current working directory☆22Updated 7 months ago
- Clone and modify a RegExp instance☆24Updated 3 years ago
- Regular expression for matching JavaScript comments☆32Updated 5 months ago
- ES2015 Number.isFinite() ponyfill☆20Updated 4 years ago
- Check if something is a generator function☆24Updated 3 years ago
- Filter object keys and values into a new object☆105Updated last year
- Check if a value is a plain object☆103Updated last year
- Create a Vinyl file from an actual file☆43Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 7 years ago
- ES2015 Number.isNaN() ponyfill☆29Updated last year
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Updated 2 years ago
- Create a MD5 hash with hex encoding☆47Updated 2 years ago