Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/retraigo/bettermap

An extension of the Map class with more Array-like features.
https://github.com/retraigo/bettermap

deno map typescript

Last synced: 2 months ago
JSON representation

An extension of the Map class with more Array-like features.

Awesome Lists containing this project

README

        

# BetterMap

An extension of the Map class with more Array-like features.

## NOTE
Maps are not ordered data structures. JavaScript Maps store elements in the order of insertion.
Any sorting / indexing method implemented involves converting the Map into an Array or Iterator
to do necessary operations.

Related: [Policy Maps and Sets for JavaScript](https://github.com/tc39/proposal-policy-map-set)

**[Click here for docs](https://doc.deno.land/https://deno.land/x/bettermap/mod.ts)**

## Installation

There ain't no installation. It's a Deno module.

## Usage

```ts
import { BetterMap } from "https://deno.land/x/bettermap/mod.ts";

const b = new BetterMap();
```

# Support

Do open a new issue or pr regarding bugs or improvements.

[Join our Discord server!](https://discord.gg/A69vvdK)