0.0.4 • Published 4 years ago

@jeepayjipex/array-utils v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Array Utils

Warning : alpha version

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)

Table of Contents

Background

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.

Installation (not available)

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

Usage

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.

Get methods

... in progress

Set methods

... in progress

Delete methods

... in progress

Maintainers

@JeepayJipex.

Contributing

Feel free to contribute if you find any issue or have questions regarding this package.

Open an issue or submit PRs.

Contribute as developer

Fork and submit a Pull Request

... in progress

Testing and linting

... in progress

Contribute as support

... in progress

License

MIT © Jean Mariette