Package Exports
- fast-loops
- fast-loops/lib/arrayEach
- fast-loops/lib/arrayMap
- fast-loops/lib/arrayReduce
- fast-loops/lib/objectEach
- fast-loops/lib/objectFilter
- fast-loops/lib/objectReduce
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fast-loops) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Fast Loops
A collection of small, high-performant & immutable iteration utilities for Arrays and Objects.
Installation
yarn add fast-loopsAlternatively use npm i --save fast-loops.
Why?
Because JavaScript's native "functional" APIs such as forEach, reduce, map and filter are slow. There're many different utility packages out there already, e.g. lodash. But lodash's reduce method itself is 4.5kb gzipped which is way too much for a simple Array/Object reduce utility.
License
fast-loops is licensed under the MIT License.
Documentation is licensed under Creative Common License.
Created with ♥ by @rofrischmann.