🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@thunder04/supermap

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thunder04/supermap

Extended JS Map with Array-like methods

3.0.5
latest
Source
npm
Version published
Maintainers
1
Created
Source

Version Downloads

@thunder04/supermap

Extended Map with Array-like methods with TS typings and ESM support. It's made for my projects, but you can use it too.

Features

  • Automatic sweeping. Set an interval for automatic entry-sweeping with (optional) entry lifetime and (optional) an on-sweep callback.
  • Entry TTL. Custom Time To Live duration (in milliseconds) for each entry of a SuperMap.
  • Entry limit. Set the amount of entries a SuperMap can have.

Contributions

Contributions are welcome! Do you want to add new features? Do you want to make performance optimizations? It's simple! Fork this repository, make your changes and create a pull request!

Keywords

map

FAQs

Package last updated on 15 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts