stoeffel

stoeffel/babel-plugin-array-include...

Replaces `arr.includes(val)' with `arr.indexOf(val) >= 0`.

JavaScript
44
7
MIT License

This Babel plugin replaces the ES2016 `Array.prototype.includes` method with a fallback using `indexOf` for environments that don't support it, targeting developers who need to maintain compatibility with older JavaScript runtimes. It's particularly useful for projects that must support browsers or Node.js versions lacking native `includes` support, though it has limitations with dynamic array inputs.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of stoeffel/babel-plugin-array-includes

Account's avatar
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Account's avatar
simple, flexible, fun test framework

Support the repos that depend on this repository

Top contributors

stoeffel's profile
stoeffel
11 contributions
motiz88's profile
motiz88
4 contributions
karlhorky's profile
karlhorky
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet