# svg-text-fit

> SVG utility for fitting text inside a box by resizing or ellipsis

Latest version **1.2.3** (published 2025-04-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install svg-text-fit
pnpm add svg-text-fit
yarn add svg-text-fit
bun add svg-text-fit
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.3 |
| Published | 2025-04-09 |
| First published | 2017-08-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=12 |
| Dependencies | 1 |
| Unpacked size | 75.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Vasco Asturiano |
| Maintainers | vasturiano |
| Keywords | svg, text, fit, ellipsis, utils |

## Links

- npm: https://www.npmjs.com/package/svg-text-fit
- Repository: https://github.com/vasturiano/svg-text-fit
- Homepage: https://github.com/vasturiano/svg-text-fit#readme
- Issues: https://github.com/vasturiano/svg-text-fit/issues
- npm.io page: https://npm.io/package/svg-text-fit

## Dependencies (1)

- [kapsule](https://npm.io/package/kapsule.md) ^1.16

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 1.2.3 (latest) — 2025-04-09
- 1.2.2 — 2024-12-06
- 1.2.1 — 2023-02-08
- 1.2.0 — 2023-02-06
- 1.1.8 — 2021-05-26
- 1.1.7 — 2020-11-13
- 1.1.6 — 2020-03-16
- 1.1.5 — 2017-12-23
- 1.1.4 — 2017-10-22
- 1.1.3 — 2017-10-20
- 1.1.2 — 2017-10-16
- 1.1.1 — 2017-10-16
- 1.1.0 — 2017-09-13
- 1.0.2 — 2017-08-15
- 1.0.1 — 2017-08-15
- … 1 more at https://npm.io/package/svg-text-fit/versions

---
_Source: https://npm.io/package/svg-text-fit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
