Skip to content
/ arr Public
forked from lukeed/arr

A collection of tiny, highly performant Array.prototype alternatives

License

Notifications You must be signed in to change notification settings

luan0ap/arr

 
 

Repository files navigation

arr Build Status

A collection of tiny, highly performant Array.prototype alternatives and extra utilities.

All exports are offered as CommonJS and ES6 modules. Additionally, every entry is ES3 code, which means that each package is ready for & compatible with any Browser or Node version!

Please view each package's readme for Usage and important information! 🙏

⚠️ Note: Most functions have slight differences from the native built-ins!

To view extensive benchmark results, visit the Benchmarks section.

Package Version Minified Node 4 Node 6 Node 7 Node 8
every npm 95 B
filter npm 101 B
filter.mutate npm 90 B
find npm 91 B
findIndex npm 94 B
flatten npm 151 B 〰️ 〰️ 〰️ 〰️
forEach npm 73 B
includes npm 95 B 〰️ 🚫 🔍
map npm 122 B
reduce npm 137 B
reduceRight npm 130 B
reverse npm 136 B
some npm 94 B
unique npm 111 B 〰️ 〰️ 〰️ 〰️

✅ — Denotes function is faster than native
🚫 — Denotes function is not faster than native
🔍 — Denotes function is sometimes faster than native
〰️ — Denotes function has no native counterpart

License

MIT © Luke Edwards

About

A collection of tiny, highly performant Array.prototype alternatives

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%