This package provides an ES3-compatible polyfill for `String.prototype.includes` (previously `String.prototype.contains`) for use in older JavaScript environments. It’s designed to be robust and optimized, and it implements the es-shim API interface so you can add `includes` behavior where it is missing.
Project status
- The source (mathiasbynens/String.prototype.includes) appears quiet, with the most recent upstream push and published update dated 2024-10-15, which is about 20 months ago relative to 2026-06-09.
- Update cadence looks low, with updates in 2014-11-20 (v1.0.0), 2020-05-21 (v2.0.0), and 2024-10-15 (v2.0.1), suggesting infrequent maintenance rather than active development.
AI summary generated
Recent updates
v2.0.1
v2.0.1 updates the implementation and dependency stack for string.prototype.includes. No release notes were provided, so the behavioral and API-surface changes below are effectively undocumented in the published notes.
v2.0.0
Release v2.0.0 adds compatibility with the es-shim API. This is intended to let the project interoperate with es-shims implementations that follow the es-shim API.
Featuresv1.0.0
This release is tagged v1.0.0, but no release notes were provided by the publisher. As a result, there is no documented information about new features, fixes, breaking changes, or dependency updates in the available release data.