All Projects → frptools → Collectable

frptools / Collectable

Licence: mit
High-performance immutable data structures for modern JavaScript and TypeScript applications. Functional interfaces, deep/composite operations API, mixed mutability API, TypeScript definitions, ES2015 module exports.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Collectable

Containers
This library provides various containers. Each container has utility functions to manipulate the data it holds. This is an abstraction as to not have to manually manage and reallocate memory.
Stars: ✭ 125 (-46.35%)
Mutual labels:  data-structures, set, list, map
Redux Data Structures
Reducer factory functions for common data structures: counters, maps, lists (queues, stacks), sets, etc.
Stars: ✭ 157 (-32.62%)
Mutual labels:  data-structures, dictionary, set, map
Buckets Js
A complete, fully tested and documented data structure library written in pure JavaScript.
Stars: ✭ 1,128 (+384.12%)
Mutual labels:  data-structures, dictionary, set, map
Imtools
Fast and memory-efficient immutable collections and helper data structures
Stars: ✭ 85 (-63.52%)
Mutual labels:  data-structures, dictionary, immutable, map
Libdict
C library of key-value data structures.
Stars: ✭ 234 (+0.43%)
Mutual labels:  data-structures, dictionary, map
Gods
GoDS (Go Data Structures). Containers (Sets, Lists, Stacks, Maps, Trees), Sets (HashSet, TreeSet, LinkedHashSet), Lists (ArrayList, SinglyLinkedList, DoublyLinkedList), Stacks (LinkedListStack, ArrayStack), Maps (HashMap, TreeMap, HashBidiMap, TreeBidiMap, LinkedHashMap), Trees (RedBlackTree, AVLTree, BTree, BinaryHeap), Comparators, Iterators, …
Stars: ✭ 10,883 (+4570.82%)
Mutual labels:  set, list, map
NonEmptyCollections
A type-safe implementation for collections that cannot be empty. Life is too short for emptiness-checks!
Stars: ✭ 45 (-80.69%)
Mutual labels:  map, set, list
observable ish
Observable state and events for browser and Flutter.
Stars: ✭ 26 (-88.84%)
Mutual labels:  map, set, list
js-collections-map-set
Repository to have example code to demonstrate JavaScript Map and Set data structures.
Stars: ✭ 21 (-90.99%)
Mutual labels:  map, set, data-structures
Mlib
Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).
Stars: ✭ 321 (+37.77%)
Mutual labels:  dictionary, set, list
Redisson
Redisson - Redis Java client with features of In-Memory Data Grid. Over 50 Redis based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Publish / Subscribe, Bloom filter, Spring Cache, Tomcat, Scheduler, JCache API, Hibernate, MyBatis, RPC, local cache ...
Stars: ✭ 17,972 (+7613.3%)
Mutual labels:  set, list, map
Algorithm
Algorithm is a library of tools that is used to create intelligent applications.
Stars: ✭ 787 (+237.77%)
Mutual labels:  data-structures, dictionary, set
Javascript Datastructures Algorithms
📚 collection of JavaScript and TypeScript data structures and algorithms for education purposes. Source code bundle of JavaScript algorithms and data structures book
Stars: ✭ 3,221 (+1282.4%)
Mutual labels:  data-structures, dictionary, set
Hamt
Immutable and Memory-Efficient Maps and Sets in Go
Stars: ✭ 213 (-8.58%)
Mutual labels:  immutable, set, map
Containers
Containers backed by std.experimental.allocator
Stars: ✭ 111 (-52.36%)
Mutual labels:  data-structures, set
Stencil Store
Store is a lightweight shared state library by the StencilJS core team. Implements a simple key/value map that efficiently re-renders components when necessary.
Stars: ✭ 107 (-54.08%)
Mutual labels:  dictionary, map
Collections.pooled
Fast, low-allocation ports of List, Dictionary, HashSet, Stack, and Queue using ArrayPool and Span.
Stars: ✭ 115 (-50.64%)
Mutual labels:  dictionary, list
Typed
The TypeScript Standard Library
Stars: ✭ 124 (-46.78%)
Mutual labels:  immutable, list
List
🐆 An immutable list with unmatched performance and a comprehensive functional API.
Stars: ✭ 1,604 (+588.41%)
Mutual labels:  data-structures, immutable
Russian Words
List of Russian words
Stars: ✭ 168 (-27.9%)
Mutual labels:  dictionary, list

Collectable.js: Immutable Data Structures

An all-you-can-eat buffet of high-performance, persistent, immutable, functional data structures. Collect them all!

Build Status NPM version Gitter

Note: This library is an ongoing work in progress. The data structures mentioned below are all working nicely, but will probably have additional methods introduced as time goes on, and there may be some breaking changes in future versions when work commences to iron out API inconsistencies between data structures. Documentation is also somewhat lacking and out of date, but take a look at the functions folder for each data structure package, which is almost as good as actual documentation, due to the one-operation-per-file policy, and the comprehensive TypeScript annotations.

Features

  • [x] A robust suite of high-performance data structures for most use cases
  • [x] Full ES2015 module support so that your application bundle only need grow in size according to what you actually use
  • [x] Functional API, prioritising an order of parameters best suited for currying and composition
  • [ ] 🚧 API for deep operations on nested structures
  • [x] Deep and shallow conversion to and from native types, including arrays, objects, iterables, Maps and Sets
  • [x] Complete set of TypeScript definitions
  • [ ] Extensive documentation and examples
  • [x] One package import to access everything, or isolated npm packages for each individual data structure
  • [x] Comprehensive unit test suite, consisting of hundreds of tests for every data structure
  • [x] Strong focus on a code style that emphasises high performance internally

Data Structures

See the road map for information on further development and plans for additional features and data structures.

Installation

# via NPM
npm install collectable

# or Yarn
yarn add collectable

TypeScript type definitions are built in.

Usage

API Reference: [ General | List | Map | Sorted Map | Set | Sorted Set | Red Black Tree | Others... ]

Contributor Credits (Deliberate or Unwitting)

Want to help out? See the guide for contributors.

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].