Detect the image type of a Buffer/Uint8Array
☆422Mar 24, 2026Updated 3 months ago
Alternatives and similar repositories for image-type
Users that are interested in image-type are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Detect the file type of a file, stream, or data☆4,303Apr 9, 2026Updated 2 months ago
- Check if a string or buffer is SVG☆142Feb 15, 2026Updated 4 months ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 5 years ago
- Generate a random float☆37Apr 18, 2021Updated 5 years ago
- Check if a Buffer/Uint8Array is a JPEG image☆27Jul 8, 2022Updated 3 years ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- Get a Gravatar image from an identifier, such as an email☆41Sep 10, 2021Updated 4 years ago
- Modify the source of an imported module☆28Jan 23, 2021Updated 5 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 5 years ago
- Check if the process is running with elevated privileges☆44Aug 11, 2021Updated 4 years ago
- Normalize a URL☆876May 20, 2026Updated last month
- Check if a URL is relative☆26Sep 10, 2025Updated 9 months ago
- List of compressed file extensions☆16Apr 30, 2024Updated 2 years ago
- Humanize a URL: https://sindresorhus.com → sindresorhus.com☆252Jul 9, 2022Updated 3 years ago
- Clamp a number☆17Jul 12, 2025Updated 11 months ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- List of video file extensions☆57Apr 30, 2024Updated 2 years ago
- Convert bytes to a human readable string: 1337 → 1.34 kB☆1,300Sep 21, 2025Updated 9 months ago
- Log the value/error of a promise☆30Apr 9, 2021Updated 5 years ago
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 5 months ago
- ES2015 Number.isSafeInteger() ponyfill☆19Jan 23, 2021Updated 5 years ago
- Check if a Buffer/Uint8Array is a WebP image☆21Sep 18, 2021Updated 4 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated last year
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Read a chunk from a file☆125Jun 28, 2024Updated 2 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Linearly interpolate two numbers, but snap to the closest value if the difference between them is small enough☆12Aug 20, 2015Updated 10 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Get the directory of globally installed packages and binaries☆77Feb 2, 2026Updated 5 months ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- List of text file extensions☆60Oct 29, 2024Updated last year
- Kap plugin - Export to high-quality GIFs using Gifski☆73Jan 23, 2021Updated 5 years ago
- Check if your package was installed globally☆71Nov 6, 2023Updated 2 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 5 years ago
- Check if a year is a leap year☆21Apr 7, 2021Updated 5 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Apr 1, 2024Updated 2 years ago
- Get all property keys of an object including non-enumerable and inherited ones☆109Sep 7, 2021Updated 4 years ago
- Conditional promise chains☆64Apr 9, 2021Updated 5 years ago
- Get a random item from an array☆58Mar 28, 2022Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated 2 years ago