Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

earcut

Fast polygon triangulation library for WebGL and graphics applications.

3D and graphicsNPM

GitHubWebsite

1. License

License from npm.

github.com/mapbox/earcut

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What earcut does

Fast polygon triangulation library for WebGL and graphics applications.

earcut popularity

53 / 100
Gid Score, #1668 overall
22.9M
downloads a week, npm
2,632
GitHub stars
1
agent projects use it
earcut: downloads per weeknpm, earcut 22,881,142
earcut: GitHub starsmapbox/earcut 2,632

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How earcut is used

  • earcut joined the catalog on its public numbers (22,881,142 downloads a week on npm and 2,632 GitHub stars), not on our project count: it is a dependency in 5 public GitHub projects of our scan, 1 of them set up for AI coding agents.
  • Projects that use it most often also use Three.js (100.0%), Vite (100.0%), React Three Fiber (80.0%).

Often used with

In 100.0% of its projects
In 100.0% of its projects
In 80.0% of its projects
In 100.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 60.0% of its projects
In 20.0% of its projects

More about earcut

More in 3D and graphics

Alternatives

earcut This page

ISCGid 5322.9M/wk

Compare earcut with another tool

Get started

Install it.

npm install earcut

No step-by-step start for earcut yet: we have not written its hand-checked card.