{
 "kind": "tool",
 "slug": "pngjs",
 "path": "tools/pngjs/",
 "name": "pngjs",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Files, images and media",
   "tools/files-media/"
  ]
 ],
 "lead": "Pure JavaScript PNG encoder/decoder with full async/sync support.",
 "chips": [
  {
   "label": "Files, images and media",
   "path": "tools/files-media/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install pngjs"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/pngjs/pngjs"
  },
  {
   "label": "Website",
   "href": "https://github.com/lukeapage/pngjs"
  }
 ],
 "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/pngjs/pngjs"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Mar 23, 2024",
   "note": "",
   "src": "https://github.com/pngjs/pngjs"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "27 projects",
   "status": "info",
   "sub": "#33 of 281 in its category",
   "note": "Dependency in 27 public GitHub projects set up for AI coding agents that we scanned (0.4%).",
   "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 pngjs does",
   "parts": [
    {
     "t": "prose",
     "text": "Pure JavaScript PNG encoder/decoder with full async/sync support."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "pngjs popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "60",
       "of": "/ 100",
       "l": "Gid Score, #1056 overall"
      },
      {
       "n": "113M",
       "l": "downloads a week, npm"
      },
      {
       "n": "747",
       "l": "GitHub stars"
      },
      {
       "n": "27",
       "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 pngjs is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "pngjs is a dependency in 27 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), #33 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 72; those are left out of every share on this page.",
      "The most used alternative in our scan is Sharp (297 projects).",
      "Projects that use it most often also use Playwright (JavaScript) (77.8%), pixelmatch (55.6%), Husky (44.4%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "22 projects, 0.7%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "14 projects, 0.5%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "10 projects, 0.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "6 projects, 1.3%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "5 projects, 1.1%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 77.8% of its projects",
       "v": "Playwright (JavaScript)",
       "path": "tools/playwright-test/"
      },
      {
       "l": "In 55.6% of its projects",
       "v": "pixelmatch",
       "path": "tools/pixelmatch/"
      },
      {
       "l": "In 44.4% of its projects",
       "v": "Husky",
       "path": "tools/husky/"
      },
      {
       "l": "In 59.3% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 40.7% of its projects",
       "v": "lint-staged",
       "path": "tools/lint-staged/"
      },
      {
       "l": "In 63.0% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 55.6% of its projects",
       "v": "Vite",
       "path": "tools/vite/"
      },
      {
       "l": "In 70.4% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about pngjs",
   "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": "pngjs",
       "me": true,
       "facts": [
        "MIT",
        "Gid 60",
        "113M/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"
       ]
      },
      {
       "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 pngjs with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install pngjs"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for pngjs yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm pngjs"
  ],
  [
   "Category",
   "Files, images and media"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "59.7"
  ],
  [
   "Rank in category",
   "#33 of 281"
  ],
  [
   "GitHub",
   "pngjs/pngjs"
  ],
  [
   "Last change",
   "Mar 23, 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/pngjs.png"
}