Skip to content
JS
Package

@xterm/addon-fit

An addon for [xterm.js](https://github.com/xtermjs/xterm.js) that enables fitting the terminal's dimensions to a containing element. This addon requires xterm.js v4+.

v0.11.0, 22 Dec 2025MITESM + CommonJSTypes: BundledCLI tools and terminal utilities
$ npm install @xterm/addon-fit

Key numbers

As of 25 Sept 2026
Weekly downloads
2.7m
+808% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
9 months ago
v0.11.0
GitHub stars
21.2k
2k forks
Open issues / PRs
196 / 77
Contributors
-
Commits, last 52 weeks
1,223

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.4m (25 Aug 2026)Low 237.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.

2,744,356 downloads last week, 12,682,052 in the last month. The 12-month change of +808% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
13 in total
Latest version
0.11.0, 22 Dec 20259 months ago
First published
1 Nov 2023
Last push to GitHub
13 Sept 202611 days before the snapshot
Repository archived
No
Open issues
196
Open pull requests
77
Commits, last 52 weeks
1,223
Dependents on npm
713

Major versions

  1. v0 first release 0.9.0, 1 Mar 2024

Recent releases

VersionPublished
0.11.022 Dec 2025
0.10.05 Apr 2024
0.9.01 Mar 2024
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
20 kB
Dependencies (0)
None
npm install @xterm/addon-fit

CDN

jsDelivr: 1.9m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@xterm/addon-fit@0.11.0/
  • unpkghttps://unpkg.com/@xterm/addon-fit@0.11.0/
  • esm.shhttps://esm.sh/@xterm/addon-fit@0.11.0
PackageWeekly downloadsGzipLast releaseModuleComparison
nestjs-console30.9k-1 year agoCommonJS-
colors-cli98.9k-2 years agoCommonJS-
colorette57.7m-3 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.