Skip to content

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

License

Notifications You must be signed in to change notification settings

retraigo/bettermap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Click here for docs

Installation

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

Usage

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

const b = new BetterMap<string, unknown>();

Support

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

Join our Discord server!

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published