Skip to content
JS
Package

trim-canvas

A tiny library for trimming whitespace from a canvas element

v0.1.2, 25 May 2017Apache-2.0CommonJSTypes: None
$ npm install trim-canvas

Key numbers

As of 25 Sept 2026
Weekly downloads
829.3k
+147% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
9 years ago
v0.1.2
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.3m (18 Aug 2026)Low 279.1k (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.

829,318 downloads last week, 4,174,107 in the last month. The 12-month change of +147% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
03 in total
Latest version
0.1.2, 25 May 20179 years ago
First published
1 Sept 2016
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v0 first release 0.1.0, 1 Sept 2016

Recent releases

VersionPublished
0.1.225 May 2017
0.1.11 Sept 2016
0.1.01 Sept 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install trim-canvas
  • jsDelivrhttps://cdn.jsdelivr.net/npm/trim-canvas@0.1.2/
  • unpkghttps://unpkg.com/trim-canvas@0.1.2/
  • esm.shhttps://esm.sh/trim-canvas@0.1.2
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.