# advanced-map-altered-equal

> Map-like class with customizable equality operator

Latest version **0.0.5** (published 2020-01-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install advanced-map-altered-equal
pnpm add advanced-map-altered-equal
yarn add advanced-map-altered-equal
bun add advanced-map-altered-equal
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2020-01-12 |
| First published | 2018-10-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 8.9.0 |
| Dependencies | 5 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Hoàng Văn Khải |
| Maintainers | khai96_ |
| Keywords | map, equal, custom |

## Links

- npm: https://www.npmjs.com/package/advanced-map-altered-equal
- Repository: https://github.com/ksxnodemodules/nodemonorepo
- Homepage: https://github.com/ksxnodemodules/nodemonorepo#readme
- Issues: https://github.com/ksxnodemodules/nodemonorepo/issues
- npm.io page: https://npm.io/package/advanced-map-altered-equal

## Dependencies (5)

- [tslib](https://npm.io/package/tslib.md) ^1.10.0
- [@types/node](https://npm.io/package/@types/node.md) ^13.1.6
- [advanced-map-base](https://npm.io/package/advanced-map-base.md) ^0.0.4
- [advanced-map-types](https://npm.io/package/advanced-map-types.md) ^0.0.4
- [convenient-typescript-utilities](https://npm.io/package/convenient-typescript-utilities.md) ^0.0.5

## Recent versions

- 0.0.5 (latest) — 2020-01-12
- 0.0.4 — 2019-10-05
- 0.0.3 — 2018-10-16
- 0.0.2 — 2018-10-13
- 0.0.1 — 2018-10-09
- 0.0.0 — 2018-10-08

## README

# advanced-map-altered-equal

Map-like class with customizable equality operator

## Usage

```javascript
import AlteredEqual from 'advanced-map-altered-equal'
const map = new AlteredEqual(Map, (a, b) => String(a) === String(b))
map.set(0, 'zero')
map.get('0') // expect: 'zero'
map.get({ toString: () => '0' }) // expect: 'zero'
```

## License

[MIT](https://git.io/vhaEz) © [Hoàng Văn Khải](https://github.com/KSXGitHub)

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