sindresorhus / is-jpgLinks
Check if a Buffer/Uint8Array is a JPEG image
☆26Updated 2 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:
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Strip the final newline character from a string/buffer☆36Updated 7 months ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a Buffer/Uint8Array is a GIF image☆28Updated 2 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated 10 months ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆17Updated 2 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 10 months ago
- Get a random key from an object☆18Updated 11 months ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the version of a binary in semver format☆42Updated last year
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆47Updated 3 years ago
- Check if a Buffer/Uint8Array is a WebP image☆19Updated 3 years ago
- Check if a value is an object☆40Updated 4 years ago
- Check if something is a generator function☆22Updated 2 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated last year
- Rename a function☆46Updated last year
- Alphabetically sort an array of strings☆39Updated 4 years ago
- Check if a file path is a compressed file☆17Updated last year
- Create ansi colors by passing open and close codes.☆19Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Extract the article title of a HTML document☆54Updated 3 years ago