Skip to content
JS
Package

string-left-right

Looks up the first non-whitespace character to the left/right of a given index

v6.2.5, 21 Sept 2026MITESM onlyTypes: Bundled
$ npm install string-left-right

Key numbers

As of 25 Sept 2026
Weekly downloads
227.7k
+84% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
3 days ago
v6.2.5
GitHub stars
214
25 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
1,699

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300k400kSept 2025Mar 2026Sept 2026High 315.5k (18 Aug 2026)Low 131.5k (14 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

227,683 downloads last week, 1,073,958 in the last month. The 12-month change of +84% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
6.2.5, 21 Sept 20263 days ago
First published
-
Last push to GitHub
21 Sept 20263 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
1,699
Dependents on npm
20

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18.20.8
Runtimes
-
Unpacked size (npm)
32 kB
Dependencies (1)
codsen-utils
npm install string-left-right
  • jsDelivrhttps://cdn.jsdelivr.net/npm/string-left-right@6.2.5/
  • unpkghttps://unpkg.com/string-left-right@6.2.5/
  • esm.shhttps://esm.sh/string-left-right@6.2.5
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.