# map-implementation

> A simple implementation of the map array method.

Latest version **1.1.0** (published 2022-03-06) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2022-03-06 |
| First published | 2022-03-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Wendell Kenneddy |
| Maintainers | wkenneddy |

## Links

- npm: https://www.npmjs.com/package/map-implementation
- Repository: https://github.com/wendell-kenneddy/map-implementation
- Issues: https://github.com/wendell-kenneddy/map-implementation/issues
- npm.io page: https://npm.io/package/map-implementation

## Dependencies (2)

- [esbuild](https://npm.io/package/esbuild.md) ^0.14.25
- [ts-jest](https://npm.io/package/ts-jest.md) ^27.1.3

## Recent versions

- 1.1.0 (latest) — 2022-03-06
- 1.0.0 — 2022-03-06

## README

# Map Implementation

![Author](https://img.shields.io/badge/author-Wendell%20Kenneddy-brightgreen)
![Used Technologies](https://img.shields.io/badge/techs-Typescript%20and%20Jest-brightgreen)
![Status](https://img.shields.io/badge/status-Concluded-brightgreen)
![PRs](https://img.shields.io/badge/PRs-Welcome-brightgreen)
![License](https://img.shields.io/badge/license-MIT-brightgreen)

---

## 📕 About

This project is a simple implementation of the map array method. Also, this project is my first npm package, and first experience with esbuild.

---

## ⚒️ Used Technologies

To develop this app, I used these technologies:

- Typescript
- Jest for testing

---

## ✨ Features

- Implementation of the map method

---

## ⚙️ How to Use

Run `yarn add map-implementation` to install the package.

Then:

```ts
import { _map } from 'map-implementation';

const numArray = [5, 10, 15];

const doubledArray = _map<number, number>(
  numArray,
  (val, index, source) => val * 2
);

console.log(doubledArray); // 10, 20, 30
```

---

## 🔓 License

This project is under license. Click [here](./LICENSE) for details.

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