Skip to content
JS
Package

path2d

Path2D API for node. Can be used for server-side rendering with canvas

v0.3.4, 20 Aug 2026MITESM + CommonJSTypes: NonePolyfills and shimsStatic site generators and meta-frameworks
$ npm install path2d

Key numbers

As of 25 Sept 2026
Weekly downloads
2m
+61% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 month ago
v0.3.4
GitHub stars
32
10 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
42

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.9m (18 Aug 2026)Low 749.9k (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.

2,006,682 downloads last week, 9,058,337 in the last month. The 12-month change of +61% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
210 in total
Latest version
0.3.4, 20 Aug 20261 month ago
First published
16 Mar 2024
Last push to GitHub
14 Sept 202610 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
42
Dependents on npm
6

Major versions

  1. v0 first release 0.0.1, 16 Mar 2024

Recent releases

VersionPublished
0.3.420 Aug 2026
0.3.316 Jun 2026
0.3.124 Jun 2025
0.3.024 Jun 2025
0.2.27 Nov 2024
0.2.129 Jun 2024
0.2.04 Apr 2024
0.1.217 Mar 2024
0.1.116 Mar 2024
0.0.116 Mar 2024
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=6
Runtimes
-
Unpacked size (npm)
111 kB
Dependencies (0)
None
npm install path2d
  • jsDelivrhttps://cdn.jsdelivr.net/npm/path2d@0.3.4/
  • unpkghttps://unpkg.com/path2d@0.3.4/
  • esm.shhttps://esm.sh/path2d@0.3.4
PackageWeekly downloadsGzipLast releaseModuleComparison
canvas-roundrect-polyfill408.7k-4 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.