npm.io
1.1.1 • Published 6 years ago

@totalpave/hashmap

Licence
MIT
Version
1.1.1
Deps
2
Size
443 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

@totalpave/hashmap

Build Status

Description

A generic hashmap collection class

Installation

npm install @totalpave/hashmap

Usage

import HashMap from '@totalpave/hashmap';

let hashmap: HashMap<string> = new HashMap<string>();
hashmap.set('firstName', 'John')
       .set('lastName', 'Smith');

hashmap.get('firstName'); // 'John'

hashmap.keys(); // ['firstName', 'lastName']

API

TBD

Keywords