@lucid-softworks/map-map-values
v0.1.0
Published
Transform Map values while preserving keys and order.
Maintainers
Readme
@lucid-softworks/map-map-values
Transform Map values while preserving keys and order.
import { mapValues } from "@lucid-softworks/map-map-values";
mapValues(new Map([["a", 2]]), (value) => value * 2);See the exported types and tests for exact edge-case behavior.
