Skip to content
JS
Package

martinez-polygon-clipping

Martinez polygon clipping algorithm, does boolean operation on polygons (multipolygons, polygons with holes etc): intersection, union, difference, xor

v0.8.1, 7 Dec 2025MITESM + CommonJSTypes: Bundled
$ npm install martinez-polygon-clipping

Key numbers

As of 25 Sept 2026
Weekly downloads
1.1m
+132% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
9 months ago
v0.8.1
GitHub stars
775
82 forks
Open issues / PRs
27 / 11
Contributors
-
Commits, last 52 weeks
11

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.2m (9 Jun 2026)Low 404.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,068,820 downloads last week, 5,116,123 in the last month. The 12-month change of +132% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
227 in total
Latest version
0.8.1, 7 Dec 20259 months ago
First published
26 Jul 2016
Last push to GitHub
10 Apr 2026168 days before the snapshot
Repository archived
No
Open issues
27
Open pull requests
11
Commits, last 52 weeks
11
Dependents on npm
-

Major versions

  1. v0 first release 0.1.0, 26 Jul 2016

Recent releases

VersionPublished
0.8.17 Dec 2025
0.8.03 Dec 2025
0.7.426 Jul 2024
0.7.330 Mar 2022
0.7.22 Mar 2022
0.7.19 May 2021
0.7.025 Mar 2020
0.6.218 Feb 2020
0.6.118 Feb 2020
0.6.08 Jan 2020
0.5.013 Aug 2018
0.4.38 Jun 2018
0.4.25 Jun 2018
0.4.127 May 2018
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
36 kB
Dependencies (3)
splaytreetinyqueuerobust-predicates
npm install martinez-polygon-clipping

CDN

jsDelivr: 130.3k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/martinez-polygon-clipping@0.8.1/
  • unpkghttps://unpkg.com/martinez-polygon-clipping@0.8.1/
  • esm.shhttps://esm.sh/martinez-polygon-clipping@0.8.1
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.