@totalpave/hashmap

A generic hashmap collection class

Usage no npm install needed!

<script type="module">
  import totalpaveHashmap from 'https://cdn.skypack.dev/@totalpave/hashmap';
</script>

README

@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