this repository is still in alpha. It means that it's API can change from one version to another. Use it at your own risk
This repository contains simple methods to manipulate Arrays :
- Setting or getting values (with or without conditions)
- Delete values (with or without conditions)
- Transform (in progress)
- Merge multiple arrays (in progress)
- Split arrays (in progress)
This repository is a first contribution, entirely written in typescript. Firstly used as helpers for projects I was working on, I decided to release it to others.
You need to have node >12 installed with npm (or yarn).
In your project folder (where is located your packages.json file) type:
npm install @jeepayjipex/array-utils
or
yarn add @jeepayjipex/array-utils
Just import the method you need and call it. Those methods consist of pure functions only.
It means that they'll never mutate your arrays.
They also doesn't attach any behavior to existing objects or types, avoiding unecessary consequences.
... in progress
... in progress
... in progress
Feel free to contribute if you find any issue or have questions regarding this package.
Open an issue or submit PRs.
... in progress
... in progress
... in progress
MIT © Jean Mariette