Package
string.prototype.includes
A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 31m
- +143% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 3
- Direct, from package.json
- Last release
- 1 year ago
- v2.0.1
- GitHub stars
- 70
- 10 forks
- Open issues / PRs
- 1 / 1
- Contributors
- 4
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
30,968,464 downloads last week, 133,838,396 in the last month. The 12-month change of +143% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 03 in total
- Latest version
- 2.0.1, 15 Oct 20241 year ago
- First published
- 20 Nov 2014
- Last push to GitHub
- 15 Oct 2024709 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 36
Major versions
- v2 first release 2.0.0, 21 May 2020
- v1 first release 1.0.0, 20 Nov 2014
Recent releases
| Version | Published |
|---|---|
| 2.0.1 | 15 Oct 2024 |
| 2.0.0 | 21 May 2020 |
| 1.0.0 | 20 Nov 2014 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >= 0.4
- Runtimes
- -
- Unpacked size (npm)
- 16 kB
- Dependencies (3)
call-bindes-abstractdefine-properties
npm install string.prototype.includes- jsDelivr
https://cdn.jsdelivr.net/npm/string.prototype.includes@2.0.1/ - unpkg
https://unpkg.com/string.prototype.includes@2.0.1/ - esm.sh
https://esm.sh/string.prototype.includes@2.0.1
Indexability: Indexed.