Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@onekuma/map

yjl9903104MIT0.1.10TypeScript support: included

OneKuma Map Collection

onekuma, collection, map

readme

@onekuma/map

version

OneKuma map library.

pnpm i @onekuma/map

Usage

import { ImMap } from '@onekuma/map'

const map = ImMap.of({ a: 1, b: 2, c: 3 })

for (const [k, v] of map) {
  console.log(`${k} => ${v}`)
}

License

MIT License © 2023 XLor