Skip to content

wendell-kenneddy/map-implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Map Implementation

Author Used Technologies Status PRs License


📕 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:

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 for details.

About

A simple implementation of the map array method, for learning purposes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published