Built something? We create video reels & spotlights for GitHub projects.Promote your project โ†’
Home / Compare / string-width vs javascript-algorithms
Side-by-Side Comparison

string-width vs javascript-algorithms

Compare open source repositories side by side. Stars, forks, code health, licensing, and community growth.

๐Ÿ”
๐Ÿ”
Popular matchups:

Recorded Stars Comparison

โ— sindresorhus/string-width (531) โ— trekhleb/javascript-algorithms (196.8K)
string-width (8%) javascript-algorithms (92%)
โ˜† 531string-width stars
โ˜† 196.8Kjavascript-algorithms stars
+196.2KDifference
javascript-algorithmsStar Leader (370.6x)

โš–๏ธ Comparison Verdict

Star Popularity javascript-algorithms Leads +196.2K stars (370.6x ratio)
Forks & Derivatives javascript-algorithms Leads 30.9K total community forks
Recent Maintenance string-width Pushed 23d ago
Licensing MIT Both share open license

Side-by-Side Facts

Metric sindresorhus/string-width โ†— trekhleb/javascript-algorithms โ†—
DescriptionGet the visual width of a string - the number of columns required to display it๐Ÿ“ Algorithms and data structures implemented in JavaScript with explanations and links to further readings
GitHub Starsโ˜† 531โ˜† 196,764
Forks4230,946
Open Issues2444
Main LanguageJavaScriptJavaScript
LicenseMITMIT
Last PushNov 11, 2026Jul 26, 2026
GitHub SourceOpen Source โ†—Open Source โ†—

โญ Embed Verified Badges in README

Add verified GitHubRepo badges to either project's README.md to showcase star momentum.

string-width Badge string-width badge
[![Featured on GitHubRepo.cloud](https://githubrepo.cloud/badge/sindresorhus/string-width.svg?metric=featured)](https://githubrepo.cloud/repo/sindresorhus/string-width?utm_source=readme_badge)
javascript-algorithms Badge javascript-algorithms badge
[![Featured on GitHubRepo.cloud](https://githubrepo.cloud/badge/trekhleb/javascript-algorithms.svg?metric=featured)](https://githubrepo.cloud/repo/trekhleb/javascript-algorithms?utm_source=readme_badge)

Related Head-to-Head Comparisons

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.

SPONSORED Sponsored Partner