ImageScript
Reasonable, with limits. 5th of 9 image processing libraries.
ImageScript is a zero-dependency image library written in pure TypeScript. It decodes, edits and encodes many formats, including AVIF, JPEG XL and animated WebP, on Node, Deno, Bun, browsers and edge runtimes. It is a good pick when native binaries are not allowed, but it is slower than sharp, few people use it, and nearly all the work comes from one maintainer, who is now finishing a breaking 4.0 release.
Best for: Developers who need image decoding, resizing, text and format conversion on edge runtimes, Deno or the browser, where sharp's native binary cannot run.
Scores
Overall6.7
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
Where native code cannot run, ImageScript is arguably the most capable pure-JS choice, and it is far more active than Jimp. sharp remains the default for Node servers because it is faster and widely trusted. ImageScript's single maintainer, small user base and the 4.0 API break keep it in the reasonable-but-limited band.
- peers Jimp commitsLastYear: Jimp had 1 commit in the last year, against ImageScript's 655.
- peers sharp downloadsLast4Weeks: sharp has about 651M downloads in 4 weeks: the clear default.
- npm-compare.com/canvas,imagescript,jimp,sharp: Recommended only when deployment rules out native modules.
- jsr.io/@matmen/imagescript: Zero-dependency, multi-runtime design.
GPT-6.2 Sol: 7.3, likely 6.0 to 8.3
ImageScript 3.20.5 is a strong choice when one typed library needs to resize, convert, and draw images across browsers and edge runtimes. Sharp remains the stronger default for high-throughput Node.js processing, with faster common operations and a much larger adoption base. The recent rewrite, upcoming major changes, and limited independent testing of 3.x keep the range wide.
- github.com/imagescript/ImageScript/blob/v3.20.5/README.md: Stable release supports browser and edge runtimes, modern codecs, and rendering.
- github.com/imagescript/ImageScript/blob/v3.20.5/bench/README.md: Project benchmarks show sharp ahead in several common Node.js workloads.
- github.com/imagescript/ImageScript/releases: Shows active stable patching and a breaking major release in testing.
- dependents and peers sharp dependentRepos: 218 indexed dependent repositories for ImageScript versus 178,353 for sharp.
Needed by many5.7
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Resizing, converting and drawing images is a common need in web apps. ImageScript's pure-JS approach matters most where native code cannot run, such as edge functions, Deno, browsers and locked-down containers. On a plain Node server, most people will choose sharp.
- npm-compare.com/canvas,imagescript,jimp,sharp: Recommended for serverless, edge and environments without native binaries.
- jsr.io/@matmen/imagescript: Runs on Node 22.13+, Deno, Bun, browsers and edge runtimes.
GPT-6.2 Sol: 5.3, likely 3.9 to 6.8
Image resizing, conversion, and drawing serve projects that handle uploads, thumbnails, or generated graphics. Browser and edge support expands the audience alongside Node.js, Deno, and Bun. Web image measurements and runtime surveys give context, but they do not measure how many projects need their own image library.
- github.com/imagescript/ImageScript/blob/v3.20.5/README.md: Documents the shared bitmap, codec, and rendering API across runtimes.
- 2025.stateofjs.com/en-US/other-tools: Node.js and browsers lead runtime usage, with additional use of Bun, Deno, and edge runtimes.
- almanac.httparchive.org/en/2024/media: Measures image formats, delivery, and responsive image practices on the web.
Helps a lot7.5
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 5.5 to 8.0
Its format coverage is unusually wide for pure JavaScript: AVIF, JPEG XL, WebP, animation, HDR gain maps and colour profile conversion. It also includes font and SVG rendering, ships types, and gives clear errors. Speed and memory use trail sharp's native libvips, and the API is being reshaped for 4.0. No independent benchmark numbers were found, which keeps the range wide.
- github.com/imagescript/ImageScript: Feature and format list; benchmarks folder, but no figures published.
- npm-compare.com/canvas,imagescript,jimp,sharp: Rated medium performance, better than Jimp, behind sharp; whole image held in memory.
- github.com/imagescript/ImageScript/releases: 4.0 release candidates tighten the API and its error handling.
- npm hasTypes: Ships its own TypeScript types.
GPT-6.2 Sol: 8.0, likely 6.7 to 9.0
Version 3.20.5 combines a typed bitmap API with modern codecs, animation, SVG, and font rendering. The maintainers’ benchmark on 3.20.4 shows faster JPEG encoding than Jimp, while sharp is faster at JPEG encoding and bicubic resizing. The versioned examples and specific errors help developers and coding agents, although older snippets use changed APIs. Independent evidence on current codec correctness and throughput is thin.
- jsr.io/@matmen/imagescript/doc: Version 3.20.5 API reference covers codecs, animation, typed options, and input limits.
- github.com/imagescript/ImageScript/blob/v3.20.5/bench/README.md: Maintainer test measured JPEG encoding at 52 ms for ImageScript, 337 ms for Jimp, and 15 ms for sharp.
- github.com/imagescript/ImageScript/releases/tag/v3.0.0: The rewrite changed pixel coordinates and several API behaviors.
- tangled.org/aquati.cat/Monochromatic/blob/docs%2Fmusic-player-release-measurements/doc/handover/image-processing-library-vet.md: Independent comparison verified a PNG round trip on 1.3.1.
Holds up over time6.3
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 4.0 to 7.5
Activity is very high: 655 commits and 39 releases in the last year, with no open issues or pull requests. But one account publishes every release, and no sponsor is listed. The coming 4.0 brings breaking changes, though it is handled carefully, with deprecation hints in 3.20.x and a migration guide.
- github commitsLastYear / releasesLastYear: 655 commits and 39 releases in the last year.
- github.com/imagescript/ImageScript/releases: All releases published by matmen; 4.0 is at its last release candidate, with a migration path.
- github contributors: Only 11 contributors.
GPT-6.2 Sol: 6.5, likely 4.8 to 8.0
The snapshot shows 655 commits and 39 GitHub releases in a year, with much of the visible work following the October TypeScript rewrite. One account publishes the visible releases, and evidence on funding and backup release access is sparse. An older JPEG report took roughly 21 months to close, so the empty issue queue tells us little about typical response time. The 4.0 release candidate changes APIs again, with deprecation guidance in 3.x.
- github commitsLastYear, releasesLastYear, contributors, and openIssues: 655 commits, 39 releases, 11 contributors, and no open issues at collection.
- github.com/imagescript/ImageScript/releases: Recent releases list the same publisher and give guidance for upcoming API changes.
- github.com/imagescript/ImageScript/releases/tag/v3.0.0: October rewrite replaced the codecs and renderers and changed the public API.
- github.com/imagescript/ImageScript/issues/42: January 2025 JPEG report closed with the October 2026 rewrite.
- github.com/imagescript/ImageScript/releases/tag/v4.0.0-rc.6: The next major version is in release candidate testing.
Used widely3.5
How many use it, and is that growing?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
It had about 860k downloads in the last 4 weeks, up 6.4x from a year ago, which beats the 4.1 median. That is still tiny next to sharp, Jimp or node-canvas. Only 218 dependent repositories and 685 stars point to a few thousand direct users. Part of the download growth may come from packages that install it, not from direct choice.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 860,180 vs 135,048: a ratio of 6.4, above the 4.1 median.
- dependents: 218 repositories and 14 packages, against 142k repositories for Jimp.
- github stars: 685 stars.
GPT-6.2 Sol: 3.0, likely 1.8 to 4.5
Four-week npm installs rose to 860,180, about 6.37 times the prior year and above the 4.1 catalog median. The 218 indexed repositories and 14 packages put it well behind sharp and Jimp in observed adoption, and the snapshot has no matched Hacker News or Bluesky activity. Repeated installs can inflate npm counts, while JSR and CDN use can escape them, so the number of projects choosing ImageScript remains uncertain.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, and medianDownloadsRatio: 860,180 versus 135,048 installs, a 6.37× ratio against a 4.1× median.
- dependents, github stars, and peers dependentRepos: 218 repositories, 14 packages, and 685 stars, with much larger repository counts for sharp and Jimp.
- hackerNews stories and bluesky posts: Zero matches on both in the snapshot.
- jsr.io/@matmen/imagescript/dependents: JSR reports about 3,175 weekly downloads and one listed dependent package.
- github.com/imagescript/ImageScript/blob/v3.20.5/README.md: Documents direct browser imports from jsDelivr.
Vouched for2.9
Who stands behind it being good?
Claude Opus 5.5: 3.0, likely 2.0 to 4.5
No well-known company or framework was found building on it. It has no Hacker News or Bluesky attention, and it does not appear in developer surveys. The only outside comment is from comparison sites, which call it the better pure-JS option than Jimp for new work.
- hackerNews / bluesky: No stories and no posts.
- npm-compare.com/canvas,imagescript,jimp,sharp: Prefers it over Jimp for new pure-JS projects.
- github.com/imagescript/ImageScript: No sponsors and no listed users.
GPT-6.2 Sol: 2.8, likely 1.3 to 4.4
A Supabase user reported switching to ImageScript for an edge function, and an independent evaluation verified PNG resizing on 1.3.1. The denorg QR code project also documents it as an optional converter. These examples mostly cover 1.x, and evidence of large production deployments, satisfaction, or independent performance tests for 3.x is sparse.
- github.com/orgs/supabase/discussions/6710: User reported that ImageScript 1.0.11 worked for their edge function.
- tangled.org/aquati.cat/Monochromatic/blob/docs%2Fmusic-player-release-measurements/doc/handover/image-processing-library-vet.md: Independent evaluation passed a basic resize and encode check on 1.3.1.
- github.com/denorg/qrcode: Documents ImageScript 1.3.1 as an optional GIF-to-PNG converter.
Safe7.4
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 5.5 to 8.5
It has zero dependencies, no install scripts or native binaries, and no known advisories. Recent releases add limits against hostile SVG, font and oversized inputs. The risks are a single publisher and no OpenSSF Scorecard, plus a noted gap where a small GIF can still allocate a large canvas. The npm licence field reads AGPL-3.0-or-later OR MIT, while GitHub shows MIT. MIT can be chosen, so commercial use is not limited.
- npm dependencies: 0 dependencies.
- advisories total: No advisories.
- npm license: (AGPL-3.0-or-later OR MIT): MIT is an option.
- github.com/imagescript/ImageScript/releases: Hardening against untrusted input; the large-GIF allocation is a known limit.
- scorecard: No Scorecard data.
GPT-6.2 Sol: 7.8, likely 6.2 to 8.8
The package ships with zero runtime dependencies, offers MIT as an alternative to AGPL-3.0-or-later, and uses npm trusted publishing with provenance. OSV lists zero advisories, and 3.20.5 fixed an SVG memory exhaustion bug. The many in-package parsers still handle untrusted data, recent releases show one publisher, and the missing OpenSSF Scorecard leaves some controls unverified.
- npm dependencies, advisories total, and scorecard: Zero runtime dependencies, zero OSV advisories, and no OpenSSF Scorecard result.
- github.com/imagescript/ImageScript/blob/v3.20.5/LICENSE: Users may choose the permissive MIT license.
- github.com/imagescript/ImageScript/blob/v3.20.5/.github/workflows/release.yml: Release workflow runs tests and publishes to npm with trusted publishing and provenance.
- github.com/imagescript/ImageScript/releases/tag/v3.20.5: Immutable release adds SVG work limits to prevent a reported memory exhaustion case.
- github.com/imagescript/ImageScript/releases: Visible recent releases are attributed to one publisher.
Good
- It is pure TypeScript with zero dependencies, so the same code runs on Node, Deno, Bun, Cloudflare Workers and browsers.
- It reads and writes a very wide set of formats in plain JavaScript, including AVIF, JPEG XL, WebP, GIF and APNG animation, and HDR gain maps.
- It has built-in font text rendering, SVG rendering, compositing with blend modes, and filters.
- Development is very active, with recent hardening against hostile SVG, font and oversized inputs.
Bad
- It is much slower than sharp's native libvips and loads whole images into memory, so it is a poor fit for heavy batch work.
- Releases depend on a single maintainer, and no funding is visible.
- The 4.0 release renames and removes APIs, so 3.x code needs a migration.
- Few projects use it and there are few independent write-ups, so AI agents and users have little shared experience to draw on.
The numbers
- npm downloads, 4 weeks
- 860k ×6.4 in a year
- GitHub stars
- 685
- Commits, 12 months
- 655
- npm version
- 3.20.5 Nov 2026
- Versions, 12 months
- 33
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (imagescript/ImageScript), npm (imagescript), OSV and the OpenSSF Scorecard.