## [![Alisa Logo](https://i.hizliresim.com/aug2sp9.png)](https://www.npmjs.com/package/alisa.array/)


[![Package Name](https://img.shields.io/badge/Package%20name-alisa.array-red)](https://www.npmjs.com/package/alisa.array/)
[![Package size](https://img.shields.io/bundlephobia/min/alisa.array?label=Package%20size)](https://www.npmjs.com/package/alisa.array/)
[![Version](https://img.shields.io/npm/v/alisa.array.svg?label=Package%20version)](https://www.npmjs.com/package/alisa.array/)
[![License](https://img.shields.io/npm/l/alisa.array.svg?label=License)](https://www.npmjs.com/package/alisa.array/)

[![NPM](https://nodei.co/npm/alisa.array.png?downloads=true)](https://www.npmjs.com/package/alisa.array/)

# Source file

- [alisa.array](https://github.com/pordarman/alisa.array)

<br>

# Creator(s)

- [Ali (Fearless Crazy)](https://github.com/pordarman)

<br>

# Social media accounts

- Ali: [Instagram](https://www.instagram.com/ali.celk/) - [Discord](https://discord.com/users/488839097537003521) - [Spotify](https://open.spotify.com/user/215jixxk4morzgq5mpzsmwwqa?si=41e0583b36f9449b)

<br>

## [![Alisa Logo](https://i.hizliresim.com/aug2sp9.png)](https://www.npmjs.com/package/alisa.array/)


[![Package Name](https://img.shields.io/badge/Package%20name-alisa.array-red)](https://www.npmjs.com/package/alisa.array/)
[![Package size](https://img.shields.io/bundlephobia/min/alisa.array?label=Package%20size)](https://www.npmjs.com/package/alisa.array/)
[![Version](https://img.shields.io/npm/v/alisa.array.svg?label=Package%20version)](https://www.npmjs.com/package/alisa.array/)
[![License](https://img.shields.io/npm/l/alisa.array.svg?label=License)](https://www.npmjs.com/package/alisa.array/)

[![NPM](https://nodei.co/npm/alisa.array.png?downloads=true)](https://www.npmjs.com/package/alisa.array/)

# Source file

- [alisa.array](https://github.com/pordarman/alisa.array)

<br>

# Creator(s)

- [Ali (Fearless Crazy)](https://github.com/pordarman)

<br>

# Social media accounts

- Ali: [Instagram](https://www.instagram.com/ali.celk/) - [Discord](https://discord.com/users/488839097537003521) - [Spotify](https://open.spotify.com/user/215jixxk4morzgq5mpzsmwwqa?si=41e0583b36f9449b)

<br>

# How is it used and what are its features?

- Let's first look at how to use:

```js
// If you created a regular JavaScript file (without Node.js)
import ArrayUtil from "alisa.array";

// But if you have created Node.js file, you should use it like this
const ArrayUtil = require("alisa.array");

const array = [1, 2, 3, 4, 5];

const filterAndMap = ArrayUtil.filterAndMap(
    array,
    (number) => number >= 3,
    (number) => number * number
)

console.log(filterAndMap); // [9, 16, 25]
```

- If your code compiler says something like **"No such function"** after typing "filterAndMap" or something else, ignore it, if you have imported the module correctly it will work.

<br>
<hr>
<br>

- The module has many more features like this. Below are the features added thanks to this module, what they all do and an example for each.

## `Included Features:`

- sameArray
- allIndexOf
- findIndexAll
- concatAll
- filterAndMap
- pushWithSort
- swap
- count
- shuffle
- difference
- removeDuplicate
- chunk
- groupBy
- toObject
- toSet
- similar
- permutations 
- onlyEvens 
- onlyOdds 
- reversed 
- max 
- min 
- uniqueBy 
- flatten 

> 📌 Each function is fully documented in the codebase and comes with examples and type validations.

---

Please do not forget to use the **latest version** for the most **stable** and **performant** experience!

<br>

# For those who read this far...

- First of all, **thank you so much** for reading this far <3
- **Since my English is not very good**, I may have made a language mistake in some places, sorry for that. I'm learning and improving more every day 💪
- If there are mistakes in the module or suggestions for improvement, feel free to reach out.

<br>

# And finally

- If you want to support this module, please ⭐ the repo on [GitHub](https://github.com/pordarman)!
- Thank you again — I love you 💗
- See you in my next modules!

<br>

![lovee](https://gifdb.com/images/high/drake-heart-hands-aqm0moab2i6ocb44.webp)