{
 "kind": "tool",
 "slug": "file-saver",
 "path": "tools/file-saver/",
 "name": "FileSaver.js",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Files, images and media",
   "tools/files-media/"
  ]
 ],
 "lead": "Enables client-side file downloads in browsers with the saveAs() API implementation.",
 "chips": [
  {
   "label": "Files, images and media",
   "path": "tools/files-media/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install file-saver"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/eligrey/FileSaver.js"
  },
  {
   "label": "Website",
   "href": "https://github.com/eligrey/FileSaver.js#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/eligrey/FileSaver.js"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Mar 1, 2023",
   "note": "Latest GitHub release Aug 6, 2020. ",
   "src": "https://github.com/eligrey/FileSaver.js"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "31 projects",
   "status": "info",
   "sub": "#26 of 281 in its category",
   "note": "Dependency in 31 public GitHub projects set up for AI coding agents that we scanned (0.5%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What FileSaver.js does",
   "parts": [
    {
     "t": "prose",
     "text": "Enables client-side file downloads in browsers with the saveAs() API implementation."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "FileSaver.js popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "68",
       "of": "/ 100",
       "l": "Gid Score, #467 overall"
      },
      {
       "n": "10.5M",
       "l": "downloads a week, npm"
      },
      {
       "n": "22K",
       "l": "GitHub stars"
      },
      {
       "n": "31",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How FileSaver.js is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "FileSaver.js is a dependency in 31 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.6% of the 4,867 JavaScript/TypeScript ones), #26 of 281 in files, images and media.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 88; those are left out of every share on this page.",
      "The most used alternative in our scan is pdf-lib (64 projects).",
      "Projects that use it most often also use React (90.3%), date-fns (61.3%), Tailwind CSS (87.1%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "19 projects, 0.6%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "13 projects, 0.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "12 projects, 0.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 90.3% of its projects",
       "v": "React",
       "path": "tools/react/"
      },
      {
       "l": "In 61.3% of its projects",
       "v": "date-fns",
       "path": "tools/date-fns/"
      },
      {
       "l": "In 87.1% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 67.7% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 64.5% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 74.2% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 64.5% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 87.1% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about FileSaver.js",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/eligrey"
       ]
      },
      {
       "title": "More in Files, images and media",
       "path": "tools/files-media/",
       "items": [
        {
         "text": "Sharp",
         "path": "tools/sharp/"
        },
        {
         "text": "Pillow",
         "path": "tools/pillow/"
        },
        {
         "text": "Nodemailer",
         "path": "tools/nodemailer/"
        },
        {
         "text": "jsPDF",
         "path": "tools/jspdf/"
        },
        {
         "text": "SheetJS",
         "path": "tools/xlsx/"
        },
        {
         "text": "qrcode (JavaScript)",
         "path": "tools/qrcode-npm/"
        },
        {
         "text": "JSZip",
         "path": "tools/jszip/"
        },
        {
         "text": "PDF.js",
         "path": "tools/pdfjs-dist/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "FileSaver.js",
       "me": true,
       "facts": [
        "MIT",
        "Gid 68",
        "10.5M/wk"
       ]
      },
      {
       "name": "pdf-lib",
       "why": "Create and modify PDF documents with JavaScript in Node.js and browsers.",
       "path": "tools/pdf-lib/",
       "facts": [
        "MIT",
        "Gid 74",
        "34.8M/wk"
       ]
      }
     ],
     "more": "Compare FileSaver.js with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install file-saver"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for FileSaver.js yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm file-saver"
  ],
  [
   "Category",
   "Files, images and media"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "68.5"
  ],
  [
   "Rank in category",
   "#26 of 281"
  ],
  [
   "GitHub",
   "eligrey/FileSaver.js"
  ],
  [
   "Last change",
   "Mar 1, 2023"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/eligrey.png"
}