mlf

0.1.1 • Public • Published

Minimalist, Lazy, Fast

In the field of array manipulation, many really outstanding librairies exist out there (underscore, lodash, lazyjs...).

MLF target is not to try to do better than its predecessors, nor to reinvent one more time the wheel.

We will try to stick to our name, like a motto, to be Minimalist, Lazy and Fast.

  • Minimalist: We will implement some of the method of the native Array API, respecting as much as possible their behavior, and selecting the one that we can improve
  • Lazy: A mean of improvement is to add a lazy implementation of the selected method, and to provide a fluent API to do so
  • Fast: At last, we will try to provide performance improvements over the native Array API

API :

  • Implemented lazily (intermediate) : map, filter, slice

  • Implemented lazily (final) : get, forEach, reduce

  • Implemented (but not lazily): reduceRight, join, every, some

  • To be implemented: concat, indexOf, lastIndexOf, reverse, splice

Readme

Keywords

Package Sidebar

Install

npm i mlf

Weekly Downloads

0

Version

0.1.1

License

Apache License 2.0

Last publish

Collaborators

  • nicocube