Skip to main content
Run any Skill in Manus
with one click

js-map-of-sets

Stars0
Forks0
UpdatedMay 2, 2026 at 18:30

Use the MapOfSets data structure when you need a Map that stores multiple unique values per key (a Map<K, Set<V>>). Handles adding, removing, querying, and iterating over grouped unique values without manual Set management. Use when the user needs to group items by key without duplicates, implement a multimap, track relationships like tags-to-items or events-to-listeners, or replace a plain Map<K, T[]> where uniqueness matters.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
11 files
SKILL.md
readonly