All Projects → nickjohnson-dev → treecko

nickjohnson-dev / treecko

Licence: MIT license
A collection of functional and immutable helpers for working with tree data structures.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to treecko

Phpfn
Functional PHP Toolstet: Centralized monorepository for all libraries
Stars: ✭ 19 (-38.71%)
Mutual labels:  immutable, functional
Pyrsistent
Persistent/Immutable/Functional data structures for Python
Stars: ✭ 1,621 (+5129.03%)
Mutual labels:  immutable, functional
Partial.lenses
Partial lenses is a comprehensive, high-performance optics library for JavaScript
Stars: ✭ 846 (+2629.03%)
Mutual labels:  immutable, functional
Switzerland
🇨🇭Switzerland takes a functional approach to Web Components by applying middleware to your components. Supports Redux, attribute mutations, CSS variables, React-esque setState/state, etc… out-of-the-box, along with Shadow DOM for style encapsulation and Custom Elements for interoperability.
Stars: ✭ 261 (+741.94%)
Mutual labels:  immutable, functional
js-data-structures
🌿 Data structures for JavaScript
Stars: ✭ 56 (+80.65%)
Mutual labels:  immutable, functional
Typed Immutable
Immutable and structurally typed data
Stars: ✭ 263 (+748.39%)
Mutual labels:  immutable, functional
Html
A Virtual DOM based templating-engine for PHP
Stars: ✭ 86 (+177.42%)
Mutual labels:  immutable, functional
Immutable Tuple
Immutable finite list objects with constant-time equality testing (===) and no memory leaks.
Stars: ✭ 29 (-6.45%)
Mutual labels:  immutable, functional
grand central
State-management and action-dispatching for Ruby apps
Stars: ✭ 20 (-35.48%)
Mutual labels:  immutable, functional
transmute
kind of like lodash but works with Immutable
Stars: ✭ 35 (+12.9%)
Mutual labels:  immutable, functional
venum
Verifiably better, validated Enum for Python
Stars: ✭ 31 (+0%)
Mutual labels:  immutable, functional
prune
A tree library for Java 8 with functional sensibilities.
Stars: ✭ 22 (-29.03%)
Mutual labels:  functional, tree-structure
finger-tree
🌵 Finger tree data structure for JavaScript
Stars: ✭ 20 (-35.48%)
Mutual labels:  immutable, functional
Fpp
Functional PHP Preprocessor - Generate Immutable Data Types
Stars: ✭ 282 (+809.68%)
Mutual labels:  immutable, functional
fastener
Functional Zipper for manipulating JSON
Stars: ✭ 54 (+74.19%)
Mutual labels:  immutable, functional
Typed
The TypeScript Standard Library
Stars: ✭ 124 (+300%)
Mutual labels:  immutable, functional
babl
JSON templating on steroids
Stars: ✭ 29 (-6.45%)
Mutual labels:  immutable, functional
peds
Type safe persistent/immutable data structures for Go
Stars: ✭ 57 (+83.87%)
Mutual labels:  immutable, functional
Fortress-of-Solitude
This Library has resources to solve common data structure algorithm problems like a Doubly linked list, Generic trees, Queue, Stack, and other algorithms. Each lib has an option to carry your custom data in elements. Custom data in detail, other fantastic resources.
Stars: ✭ 53 (+70.97%)
Mutual labels:  tree-structure
isomorphic-react-redux-saga-ssr
Isomorphic, React, Redux, Saga, Server Side rendering, Hot Module Reloading, Ducks, Code Splitting
Stars: ✭ 19 (-38.71%)
Mutual labels:  immutable

What is a treecko?

treecko

npm Travis Codecov

A collection of functional and immutable helpers for working with tree data structures.

  • Both Trees : Object and Tree Lists : Array<Object> are supported.
  • Curried for easy partial application.

Mapping

Reducing

Finding

Filtering

Side Effects

Flattening

Restructuring

Misc

TODO

  • Support different values for children key
  • Support different values for id key in flattenToMap and changeParent
  • Support different values for parentId key in changeParent
  • Add breadth-first versions of methods
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].