@arr/lastindexof v0.1.0
arr
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! :pray:
:warning: 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 | 95 B | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
filter | 101 B | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
filter.mutate | 90 B | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
find | 91 B | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
findIndex | 94 B | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
flatten | 151 B | :wavy_dash: | :wavy_dash: | :wavy_dash: | :wavy_dash: | |
forEach | 73 B | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
includes | 95 B | :wavy_dash: | :white_check_mark: | :no_entry_sign: | :mag: | |
map | 122 B | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
reduce | 137 B | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
reduceRight | 130 B | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
reverse | 136 B | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
some | 94 B | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |
unique | 111 B | :wavy_dash: | :wavy_dash: | :wavy_dash: | :wavy_dash: |
:white_check_mark: — Denotes function is faster than native :no_entry_sign: — Denotes function is not faster than native :mag: — Denotes function is sometimes faster than native :wavy_dash: — Denotes function has no native counterpart
License
MIT © Luke Edwards
7 years ago