FileSaver.js
An HTML5 saveAs() FileSaver implementation observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5528
- days_rel: n/a
- days_push: 1281
- n_releases_24m: 0
Adoption not part of the score
21987 stars · 4301 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
FileSaver.js is a small JavaScript library that implements the HTML5 FileSaver saveAs() interface for saving files generated on the client side in the browser. It works with Blobs and canvas.toBlob() to let web apps trigger file downloads with custom filenames without a server round-trip.
Use cases
- save generated files on the client side in a web app
- add a save as button to a browser-based text or markdown editor
- download a canvas drawing as an image file
- export data as csv or json from a web application
- save files offline without sending data to a server
- trigger file downloads with custom filenames across browsers
When to choose
- your web app generates files in the browser (text, canvas, blobs) and needs a reliable cross-browser saveAs()
- you need to support older browsers lacking native Blob or download support via the Blob.js polyfill
- you want a tiny dependency-free client-side download solution
When to avoid
- the file comes from a server - use the Content-Disposition attachment header instead
- you need to save files larger than the browser's blob size limit or stream data asynchronously - use StreamSaver.js
- you only target modern browsers with native File System Access API support
Facets
library · maturity maintenance
file-upload developer-tools web-development frontend files browser cross-platform client-side-file-saving blob saveas download-files browser-polyfill javascript
4 sources
- readme: https://github.com/eligrey/FileSaver.js · fetched 2026-08-28 · d4206fe01385
- homepage: https://eligrey.com/blog/saving-generated-files-on-the-client-side/ · fetched 2026-08-29 · 3693baec171f
- site_page: https://eligrey.com/about · fetched 2026-08-29 · 7a18cdbecbd6
- registry_npm: https://registry.npmjs.org/filesaver.js · fetched 2026-08-29 · 186fae797608
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| eligrey/FileSaver.js | main | 23 |
| eligrey/Blob.js | plugin | 32 |
For agents
markdown · JSON · MCP: product_card(name="eligrey/FileSaver.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem