string-length
npmactive
string-length last released 7.0.1 on 2026-01-21. Its latest version requires Node.js >=20.
Facts
- Latest release
- 7.0.1, (9 months ago)
- First published
- (12 years ago)
- Releases in the last 12 months
- 2
- Median days between releases
- 0
- Median days between major versions
- 599
- Monthly downloads
- 216,400,086
- License
- MIT
- Repository
- github.com/sindresorhus/string-length
- Source
- registry.npmjs.org (checked 2026-10-19)
Major versions
8 major versions have been published.
| Major | First version | First released | Latest version | Latest released |
|---|---|---|---|---|
| 7 | 7.0.0 | 2026-01-21 | 7.0.1 | 2026-01-21 |
| 6 | 6.0.0 | 2023-06-04 | 6.0.0 | 2023-06-04 |
| 5 | 5.0.0 | 2021-06-05 | 5.0.1 | 2021-09-13 |
| 4 | 4.0.0 | 2020-02-21 | 4.0.2 | 2021-03-17 |
| 3 | 3.0.0 | 2019-03-18 | 3.1.0 | 2019-04-02 |
| 2 | 2.0.0 | 2017-07-27 | 2.0.0 | 2017-07-27 |
| 1 | 1.0.0 | 2014-08-13 | 1.0.1 | 2015-07-16 |
| 0 | 0.1.0 | 2014-04-16 | 0.1.2 | 2014-05-01 |
Runtime requirements
The latest version of string-length declares these runtime constraints.
| Runtime | Constraint | Minimum version | Since version | Since |
|---|---|---|---|---|
| Node.js | >=20 | 20.0.0 | 7.0.0 | 2026-01-21 |
Supported runtimes
The latest version of string-length runs on 7 tracked runtime releases.
Keelbench tracks end-of-life dates for 469 products, updated daily. Check your repositories against these dates with Deps.