{
 "kind": "tool",
 "slug": "browser-image-compression",
 "path": "tools/browser-image-compression/",
 "name": "Browser Image Compression",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Files, images and media",
   "tools/files-media/"
  ]
 ],
 "lead": "Compress images in the browser before upload for smaller file sizes.",
 "chips": [
  {
   "label": "Files, images and media",
   "path": "tools/files-media/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install browser-image-compression"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/Donaldcwl/browser-image-compression"
  },
  {
   "label": "Website",
   "href": "https://github.com/Donaldcwl/browser-image-compression#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/Donaldcwl/browser-image-compression"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Mar 8, 2024",
   "note": "Latest GitHub release Mar 6, 2023. ",
   "src": "https://github.com/Donaldcwl/browser-image-compression"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "14 projects",
   "status": "info",
   "sub": "#59 of 281 in its category",
   "note": "Dependency in 14 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "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 Browser Image Compression does",
   "parts": [
    {
     "t": "prose",
     "text": "Compress images in the browser before upload for smaller file sizes."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Browser Image Compression popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "49",
       "of": "/ 100",
       "l": "Gid Score, #2054 overall"
      },
      {
       "n": "2.4M",
       "l": "downloads a week, npm"
      },
      {
       "n": "1,721",
       "l": "GitHub stars"
      },
      {
       "n": "14",
       "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 Browser Image Compression is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Browser Image Compression is a dependency in 14 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 29 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is Sharp (297 projects).",
      "Projects that use it most often also use clsx (79.3%), Lucide React (79.3%), Tailwind Merge (79.3%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "10 projects, 0.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "9 projects, 0.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "5 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 79.3% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 79.3% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 79.3% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 89.7% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 79.3% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 65.5% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 62.1% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      },
      {
       "l": "In 86.2% of its projects",
       "v": "React",
       "path": "tools/react/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Browser Image Compression",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Files, images and media",
       "path": "tools/files-media/",
       "items": [
        {
         "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/"
        },
        {
         "text": "openpyxl",
         "path": "tools/openpyxl/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Browser Image Compression",
       "me": true,
       "facts": [
        "MIT",
        "Gid 49",
        "2.4M/wk"
       ]
      },
      {
       "name": "Sharp",
       "why": "High-speed image processing for resizing, converting JPEG, PNG, WebP, GIF formats.",
       "path": "tools/sharp/",
       "facts": [
        "Apache-2.0",
        "Gid 84",
        "172M/wk"
       ]
      }
     ],
     "more": "Compare Browser Image Compression with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install browser-image-compression"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Browser Image Compression yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm browser-image-compression"
  ],
  [
   "Category",
   "Files, images and media"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "49.3"
  ],
  [
   "Rank in category",
   "#59 of 281"
  ],
  [
   "GitHub",
   "Donaldcwl/browser-image-compression"
  ],
  [
   "Last change",
   "Mar 8, 2024"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/donaldcwl.png"
}