An extension of the Map class with more Array-like features.
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
There ain't no installation. It's a Deno module.
import { BetterMap } from "https://deno.land/x/bettermap/mod.ts";
const b = new BetterMap<string, unknown>();
Do open a new issue or pr regarding bugs or improvements.