# @types/map-to-obj

> TypeScript definitions for map-to-obj

Latest version **0.2.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/map-to-obj
pnpm add @types/map-to-obj
yarn add @types/map-to-obj
bun add @types/map-to-obj
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2023-11-07 |
| First published | 2019-08-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51439 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/map-to-obj
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/map-to-obj
- npm.io page: https://npm.io/package/@types/map-to-obj

## Recent versions

- 0.2.2 (latest) — 2023-11-07
- 0.2.0 (ts2.9) — 2019-08-15
- 0.2.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/map-to-obj`

# Summary
This package contains type definitions for map-to-obj (https://github.com/egoist/map-to-obj#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/map-to-obj.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/map-to-obj/index.d.ts)
````ts
/**
 * Convert a `Map` instance into a plain `object`.
 * @param map The target to be converted
 */
declare function MapToObj<K extends string | number | symbol, V>(map: Map<K, V>): Record<K, V>;

export = MapToObj;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Jason Kwok](https://github.com/JasonHK).

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