# strict-map

> Stricter Map

Latest version **1.0.0** (published 2018-02-28) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-02-28 |
| First published | 2018-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Jamie Kyle |
| Maintainers | thejameskyle |
| Keywords | strict, map, flow, typescript, ts |

## Links

- npm: https://www.npmjs.com/package/strict-map
- Repository: https://github.com/jamiebuilds/strict-map
- Homepage: https://github.com/jamiebuilds/strict-map#readme
- Issues: https://github.com/jamiebuilds/strict-map/issues
- npm.io page: https://npm.io/package/strict-map

## Alternatives

- [csv-to-markdown-table](https://npm.io/package/csv-to-markdown-table.md) — 47.0K weekly downloads
- [@sapphire/ratelimits](https://npm.io/package/@sapphire/ratelimits.md) — 4.4K weekly downloads
- [js-csvparser](https://npm.io/package/js-csvparser.md) — 2.0K weekly downloads
- [@adadapted/js-sdk](https://npm.io/package/@adadapted/js-sdk.md) — 251 weekly downloads
- [@grapecity/spread-sheets-sparklines](https://npm.io/package/@grapecity/spread-sheets-sparklines.md) — 103 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-02-28

## README

# strict-map

> Stricter `Map`

### Installation

```
yarn add strict-map
```

### Usage

```js
const StrictMap = require('strict-map');

let map = new StrictMap();

map.set('foo', 1);
map.set('bar', 2);

map.get('foo');
map.get('bar'); // Error!
```

This is especially useful with Flow or TypeScript where you'd normally have to
check if the value returned from `map.get()` is `undefined`.

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