0.0.6 • Published 4 months ago

void-map v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

void-map

VoidMap is a Java style map written in javascript.

instalation

npm install void-map

example

// import { VoidMap } from 'void-map';
const { VoidMap } = require('void-map');

let map = new VoidMap();

map.put("are", 10);
map.put("you", 9);
map.put("sure", 8);

// log the keys and values
for(let [key, value] of map.entries()) {
    console.log(key, value);
}

// filter the map with values > 10
let filter = map.filter((key, value, index) => value>10);
filter.forEach(console.log);
0.0.5

4 months ago

0.0.6

4 months ago

0.0.4

9 months ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago