Skip to content
JS
Package

string.prototype.endswith

A robust & optimized `String.prototype.endsWith` polyfill, based on the ECMAScript 6 specification.

v1.0.2, 18 Mar 2024MITCommonJSTypes: NonePolyfills and shims
$ npm install string.prototype.endswith

Key numbers

As of 25 Sept 2026
Weekly downloads
23.9k
-30% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
2 years ago
v1.0.2
GitHub stars
36
6 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60kSept 2025Mar 2026Sept 2026High 51.2k (16 Jun 2026)Low 14.5k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

23,851 downloads last week, 114,485 in the last month. The 12-month change of -30% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.2, 18 Mar 20242 years ago
First published
-
Last push to GitHub
20 Mar 2024918 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
48

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
31 kB
Dependencies (4)
call-bindes-abstractes-object-atomsdefine-properties
npm install string.prototype.endswith
  • jsDelivrhttps://cdn.jsdelivr.net/npm/string.prototype.endswith@1.0.2/
  • unpkghttps://unpkg.com/string.prototype.endswith@1.0.2/
  • esm.shhttps://esm.sh/string.prototype.endswith@1.0.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.