hatch-surf/node_modules/string.prototype.includes
Riley Zhang df378d33ef
Some checks failed
CI / go (push) Waiting to run
CI / docker (push) Waiting to run
CI / lint-go (push) Waiting to run
CI / lint-docs (push) Waiting to run
CI / check-paperclip (push) Waiting to run
Deploy static site / Deploy to GitHub Pages (push) Has been cancelled
Deploy static site / Deploy via Docker to hatch.surf (push) Has been cancelled
Merge GitHub main into Gitea repo (allow unrelated histories)
Resolved conflicts by taking GitHub versions for:
- .dockerignore, .gitignore, Dockerfile, README.md, docker-compose.yml

Kept deploy.sh updated to:
- Pull from GitHub (primary source)
- Push to Gitea (push-mirror)
- Build from site/ directory (GitHub structure)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-25 05:20:46 +02:00
..
.github/workflows Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
tests Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
.editorconfig Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
.eslintrc Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
.gitattributes Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
.travis.yml Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
auto.js Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
implementation.js Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
index.js Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
LICENSE Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
package.json Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
polyfill.js Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
README.md Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00
shim.js Merge GitHub main into Gitea repo (allow unrelated histories) 2026-06-25 05:20:46 +02:00

ES6 String.prototype.includes polyfill Build status

A robust & optimized polyfill for the String.prototype.includes method (previously known as String.prototype.contains) in ECMAScript 6.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.

Other polyfills for String.prototype.includes are available:

Installation

Via npm:

npm install string.prototype.includes

Then, in Node.js:

var includes = require('string.prototype.includes');

In a browser:

<script src="https://bundle.run/string.prototype.includes"></script>

Note

: It's recommended that you install this module using a package manager such as npm, because loading multiple polyfills from a CDN (such as bundle.run) will lead to duplicated code.

Notes

Polyfills + test suites for String.prototype.startsWith and String.prototype.endsWith are available, too.

Author

twitter/mathias
Mathias Bynens

License

This polyfill is available under the MIT license.