Giter Site home page Giter Site logo

arr's Introduction

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 Node 10 Node 12
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

arr's People

Contributors

lukeed avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.