Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hd-genius/collection-ops
- Owner: hd-genius
- License: mit
- Created: 2019-12-11T01:25:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:27:07.000Z (about 2 years ago)
- Last Synced: 2024-08-08T18:04:50.654Z (5 months ago)
- Topics: collections, functional-programming, javascript, nodejs, npm-package
- Language: JavaScript
- Homepage: http://collection-ops.hdgenius.me/
- Size: 11.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Security: SECURITY.md
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