2.4.0 • Published 5 years ago

immutable-array-map v2.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

ImmutableArrayMap

ImmutableArrayMap is a data structure that contains: 1) Array to save the data 2) Map {idAttribute: arrIndex} to maintain pointers to the index in the array

Features

  • multiple operations in constant time: update, add, getItem, getIndex, isEmpty, size, getArray
  • remove operation in O(n) time

Installing

npm install immutable-array-map

Usage

import ImmutableArrayMap from 'immutable-array-map';

const data = new ImmutableArrayMap([], 'id', {});

Features

  • Yehonatan Sayag - Initial work - sayag11

License

This project is licensed under the MIT License - see the LICENSE.md file for details

2.4.0

5 years ago

2.3.0

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago