Package
string.prototype.trimend
ES2019 spec-compliant String.prototype.trimEnd shim.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 67.8m
- +65% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 3 months ago
- v1.0.10
- GitHub stars
- 5
- 3 forks
- Open issues / PRs
- 1 / 0
- Contributors
- 2
- Commits, last 52 weeks
- 7
Downloads
Last week 2026-09-15 to 2026-09-21
67,788,210 downloads last week, 311,461,572 in the last month. The 12-month change of +65% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 113 in total
- Latest version
- 1.0.10, 6 Jun 20263 months ago
- First published
- 19 Dec 2017
- Last push to GitHub
- 6 Jun 2026110 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 0
- Commits, last 52 weeks
- 7
- Dependents on npm
- 1,183
Major versions
- v1 first release 1.0.0, 30 Mar 2020
- v0 first release 0.0.1, 19 Dec 2017
Recent releases
| Version | Published |
|---|---|
| 1.0.10 | 6 Jun 2026 |
| 1.0.9 | 11 Dec 2024 |
| 1.0.8 | 17 Mar 2024 |
| 1.0.7 | 7 Sept 2023 |
| 1.0.6 | 7 Nov 2022 |
| 1.0.5 | 3 May 2022 |
| 1.0.4 | 24 Feb 2021 |
| 1.0.3 | 22 Nov 2020 |
| 1.0.2 | 20 Oct 2020 |
| 1.0.1 | 9 Apr 2020 |
| 1.0.0 | 30 Mar 2020 |
| 0.1.0 | 19 Dec 2017 |
| 0.0.1 | 19 Dec 2017 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >= 0.4
- Runtimes
- -
- Unpacked size (npm)
- 25 kB
- Dependencies (4)
call-bindcall-boundes-object-atomsdefine-properties
npm install string.prototype.trimend- jsDelivr
https://cdn.jsdelivr.net/npm/string.prototype.trimend@1.0.10/ - unpkg
https://unpkg.com/string.prototype.trimend@1.0.10/ - esm.sh
https://esm.sh/string.prototype.trimend@1.0.10
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| weakmap-polyfill | 1m | - | 5 years ago | CommonJS | - |
Indexability: Indexed.