# @sunkitjs/react-middle-truncate

> Pixel-accurate middle ellipsis for React: keep the start and end of addresses, hashes and file names visible. Grapheme-safe, accessible, SSR-ready, zero dependencies.

Latest version **0.1.0** (published 2026-10-04) · MIT license · 0 weekly downloads

_The full health report (score, vulnerabilities, README, dependency tree, version history) is being computed; this document will grow once it lands._

## Install

```sh
npm install @sunkitjs/react-middle-truncate
pnpm add @sunkitjs/react-middle-truncate
yarn add @sunkitjs/react-middle-truncate
bun add @sunkitjs/react-middle-truncate
```

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2026-10-04 |
| First published | 2026-10-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 77.9 KB |
| Author | apollosuny |
| Maintainers | apollosuny |
| Keywords | react, truncate, middle-ellipsis, middle-truncate, ellipsis, text-overflow, address, hash, filename, grapheme, accessible, headless, nextjs, zero-dependency |

## Links

- npm: https://www.npmjs.com/package/@sunkitjs/react-middle-truncate
- Repository: https://github.com/Apollosuny/sunkit
- Homepage: https://github.com/Apollosuny/sunkit#readme
- npm.io page: https://npm.io/package/@sunkitjs/react-middle-truncate

---
_Source: https://npm.io/package/@sunkitjs/react-middle-truncate · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
