Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hd-genius/collection-ops

library that makes collection operations in javascript more functional
https://github.com/hd-genius/collection-ops

collections functional-programming javascript nodejs npm-package

Last synced: about 2 months ago
JSON representation

library that makes collection operations in javascript more functional

Awesome Lists containing this project

README

        

# What Is The CollectionOps Library
The CollectionOps library is a simple lightweight library that aims to make task of handling collections in javascript more functional. CollectionOps brings lazily evaluated operations that fit in with the core language as smoothly as possible. These operations also work on types other than just arrays! They work on any object type that implements the Iterable interface in JavaScript. This means that these operations work on Sets, Generators, and even custom iterables. Many of these operations are also applicable to infinite collections, such as a never-ending generator or custom Iterable.
# Reasons to use CollectionOps in your project
CollectionOps is a highly performant and flexible solution that allows you to write clean, declarative, and functional JavScript code. Several common reasons that you may want to use FunctionalCollections includes:
* Lazily evaluated collection operations
* Robust operations to handle any type of collection
* A declarative rather than imperative code style