# map-in

> A helper module that implements an object mapper.

Latest version **1.0.2** (published 2015-03-16) · ISC license · 0 weekly downloads

## Install

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

## 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.2 |
| Published | 2015-03-16 |
| First published | 2015-03-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | allain |
| Maintainers | allain |
| Keywords | array, map |

## Links

- npm: https://www.npmjs.com/package/map-in
- Repository: https://github.com/allain/map-in
- Issues: https://github.com/allain/map-in/issues
- npm.io page: https://npm.io/package/map-in

## Recent versions

- 1.0.2 (latest) — 2015-03-16
- 1.0.1 — 2015-03-16

## README

# map-in

A helper module that implements an object mapper.

[![build status](https://secure.travis-ci.org/allain/map-in.png)](http://travis-ci.org/allain/map-in)

## Installation

This module is installed via npm:

``` bash
$ npm install map-in
```

## Example Usage

``` js
var mapIn = require('map-in');

var doubled;

// Object case
doubled = mapIn({a: 1, b: 2}, function(num, key) {
  return num * 2;
});

console.log(doubled); // {a 2, b: 4}

// Array case
var doubled = mapIn([1, 2], function(num, key) {
  return num * 2;
});

console.log(doubled); // [2, 4]

```

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