# void-map

> Add Java style Maps to Javascript

Latest version **0.0.7** (published 2025-02-06) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install void-map
pnpm add void-map
yarn add void-map
bun add void-map
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2025-02-06 |
| First published | 2022-12-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 10.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mrthomas20121 |
| Maintainers | mrthomas20121 |
| Keywords | Map, Java, void |

## Links

- npm: https://www.npmjs.com/package/void-map
- Repository: https://github.com/JS-Void-Packages/void-map
- Homepage: https://github.com/JS-Void-Packages/void-map#readme
- Issues: https://github.com/JS-Void-Packages/void-map/issues
- npm.io page: https://npm.io/package/void-map

## Dependencies (1)

- [void-list](https://npm.io/package/void-list.md) ^1.1.8

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.7 (latest) — 2025-02-06
- 0.0.6 — 2024-01-15
- 0.0.5 — 2024-01-15
- 0.0.4 — 2023-08-06
- 0.0.3 — 2023-03-16
- 0.0.2 — 2023-02-11
- 0.0.1 — 2022-12-06

## README

# void-map
VoidMap is a Java style map written in javascript.
## instalation 
`npm install void-map`
## example
```js
// import { VoidMap } from 'void-map';
const { VoidMap } = require('void-map');

let map = new VoidMap();

map.put("are", 10);
map.put("you", 9);
map.put("sure", 8);

// log the keys and values
for(let [key, value] of map.entries()) {
    console.log(key, value);
}

// filter the map with values > 10
let filter = map.filter((key, value, index) => value>10);
filter.forEach(console.log);
```

---
_Source: https://npm.io/package/void-map · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
