Latest / Developer tools

uWrap.js

github.com · Open source · Quiet

Fast, accurate text wrapping utility under 2 KB

Visit github.com ↗Share

Stars
321
Forks
5
Open issues
1
Last commit
Releases
3
Found
20 months ago

GitHub figures as of . They are context, not a ranking.

uWrap.js is a JavaScript utility for wrapping text, under 2 KB minified. The maker reports it is about ten times faster than alternatives, which suits front-end developers who lay out text in code.

Repository description on GitHub: “A 10x faster and more accurate text wrapping util in < 2KB (min)”

What it does

  • Predicts wrapped line counts for text without DOM measurement
  • Under 2 KB minified
  • Pre-line white-space wrapping strategy
  • Built for row heights in virtualized lists and grids

Good for

  • Predict row heights for a virtualized list of wrapped text
  • Count wrapped lines on a canvas without DOM measurement

Suits: Front-end developers virtualizing large lists or grids.

Worth knowing: Most accurate with Latin charsets and does not yet handle Windows-style CRLF line breaks

What you can try

Read the README on GitHub and install from source.

Install

npm install uwrap

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw uWrap.js on , when leeoniya posted it to Show HN. The oldest published release on GitHub is 0.1.0, dated . Its first tagged release landed the same day it was found. 3 releases have been published in total; the latest is 0.1.2 ().

Day-7 and day-30 updates

Day 7 1 release shipped

  • 1 release in the first 7 days: 0.1.1 (5 Apr 2025)
  • Show HN discussion at check time: 121 points, 21 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 1 release shipped

  • 1 release in the first 30 days: 0.1.1 (5 Apr 2025)
  • Show HN discussion at check time: 121 points, 21 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (3 in total, busiest month 2).
  1. Repository created on GitHub: leeoniya/uWrap
  2. Release 0.1.0
  3. Found: leeoniya posted it to Show HN. Show HN
  4. Release 0.1.1
  5. Release 0.1.2
  6. Day-7 check recorded by Kip (details)
  7. Day-30 check recorded by Kip (details)

Quick answers

When was uWrap.js released?
Its first tagged release on GitHub is dated 3 Apr 2025. Kip found it on Show HN on 4 Apr 2025.
Is uWrap.js open source?
Its source is public on GitHub at leeoniya/uWrap under the MIT licence.
What does uWrap.js run on?
Library.
Is uWrap.js free?
It is open source, so the code is free to read and run; check the licence for terms.
Is uWrap.js still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryleeoniya/uWrap
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-43583478. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.