# map-it

> Map an iterator.

Latest version **0.1.1** (published 2015-11-27) · MIT license · 0 weekly downloads

## Install

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

## 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.1.1 |
| Published | 2015-11-27 |
| First published | 2015-11-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | joshrtay |

## Links

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

## Dependencies (1)

- [@weo-edu/is](https://npm.io/package/@weo-edu/is.md) ^0.2.0

## Recent versions

- 0.1.1 (latest) — 2015-11-27
- 0.1.0 — 2015-11-14

## README

# map-gen

[![Build status][travis-image]][travis-url]
[![Git tag][git-image]][git-url]
[![NPM version][npm-image]][npm-url]
[![Code style][standard-image]][standard-url]

Map for generator.

## Installation

    $ npm install @f/map-gen

## Usage

```js
var map = require('@f/map-gen')

Array.from(map(addOne, function * () {
  yield 1
  yield 2
  yield 3
})) // [2, 3, 4]

function addOne(v) {
  return v + 1
}
```

## API

### mapGen(fn, gen)

- `fn` - mapping function
- `gen` - generates values to map

**Returns:** generator of mapped values

## License

MIT

[travis-image]: https://img.shields.io/travis/micro-js/map-gen.svg?style=flat-square
[travis-url]: https://travis-ci.org/micro-js/map-gen
[git-image]: https://img.shields.io/github/tag/micro-js/map-gen.svg
[git-url]: https://github.com/micro-js/map-gen
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat
[standard-url]: https://github.com/feross/standard
[npm-image]: https://img.shields.io/npm/v/@f/map-gen.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@f/map-gen

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