{
 "kind": "tool",
 "slug": "peggy",
 "path": "tools/peggy/",
 "name": "Peggy",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Build tools and bundlers",
   "tools/build-tools/"
  ]
 ],
 "lead": "Parser generator for JavaScript that creates parsers from grammar rules.",
 "chips": [
  {
   "label": "Build tools and bundlers",
   "path": "tools/build-tools/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install peggy"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/peggyjs/peggy"
  },
  {
   "label": "Website",
   "href": "https://peggyjs.org/"
  }
 ],
 "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/peggyjs/peggy"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Oct 24, 2026",
   "note": "Latest GitHub release Oct 20, 2026. ",
   "src": "https://github.com/peggyjs/peggy"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "1 projects",
   "status": "info",
   "sub": "#162 of 181 in its category",
   "note": "Dependency in 1 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "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 Peggy does",
   "parts": [
    {
     "t": "prose",
     "text": "Parser generator for JavaScript that creates parsers from grammar rules."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Peggy popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "38",
       "of": "/ 100",
       "l": "Gid Score, #3268 overall"
      },
      {
       "n": "956K",
       "l": "downloads a week, npm"
      },
      {
       "n": "1,190",
       "l": "GitHub stars"
      },
      {
       "n": "1",
       "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 Peggy is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Peggy joined the catalog on its public numbers (956,129 downloads a week on npm and 1,190 GitHub stars), not on our project count: it is a dependency in 6 public GitHub projects of our scan, 1 of them set up for AI coding agents.",
      "Projects that use it most often also use Playwright (JavaScript) (83.3%), pg (66.7%), AWS SDK for JavaScript (S3) (50.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 83.3% of its projects",
       "v": "Playwright (JavaScript)",
       "path": "tools/playwright-test/"
      },
      {
       "l": "In 66.7% of its projects",
       "v": "pg",
       "path": "tools/pg/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "AWS SDK for JavaScript (S3)",
       "path": "tools/aws-sdk-client-s3/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "Azure Storage Blob (JavaScript)",
       "path": "tools/azure-storage-blob-npm/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "ClickHouse JS client",
       "path": "tools/clickhouse-client/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "Elasticsearch JavaScript client",
       "path": "tools/elastic-elasticsearch/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "Google Cloud Storage (JavaScript)",
       "path": "tools/google-cloud-storage-npm/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "Transformers.js",
       "path": "tools/huggingface/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Peggy",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Build tools and bundlers",
       "path": "tools/build-tools/",
       "items": [
        {
         "text": "Vite",
         "path": "tools/vite/"
        },
        {
         "text": "Turborepo",
         "path": "tools/turbo/"
        },
        {
         "text": "esbuild",
         "path": "tools/esbuild/"
        },
        {
         "text": "Babel (JavaScript)",
         "path": "tools/babel-npm/"
        },
        {
         "text": "Laravel Vite Plugin",
         "path": "tools/laravel-vite-plugin/"
        },
        {
         "text": "React Compiler Babel Plugin",
         "path": "tools/babel-plugin-react-compiler/"
        },
        {
         "text": "Nx",
         "path": "tools/nx/"
        },
        {
         "text": "vite-tsconfig-paths",
         "path": "tools/vite-tsconfig-paths/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Peggy",
       "me": true,
       "facts": [
        "MIT",
        "Gid 38",
        "956K/wk"
       ]
      }
     ],
     "more": "Compare Peggy with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install peggy"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Peggy yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm peggy"
  ],
  [
   "Category",
   "Build tools and bundlers"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "38.0"
  ],
  [
   "Rank in category",
   "#162 of 181"
  ],
  [
   "GitHub",
   "peggyjs/peggy"
  ],
  [
   "Last change",
   "Oct 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/peggyjs.png"
}