0.4.0 • Published 4 years ago

@shaman-apprentice/pack-mule v0.4.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

PMap

Install with npm i --save @shaman-apprentice/pack-mule.

Goals of this library

  • Academic fun of the implementation journey
  • A static strong typed interface via TypeScript
  • Store key-value pairs not by key object's reference (what native Map does), but by a user provided key function
  • Access better than O(n), what a naive implementation with two lists would offer

API

Typedoc generated docs.

⚠️ Note for babel

In case you use babel for further transpiling you might need to add regenerator-runtime and transform-class-properties in addition to @babel/preset-env.

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago