jsmp-infrastructure-ihors-package
v1.0.18
Published
<h1 align="center"> <img src="https://jestjs.io/img/jest.png" height="150" width="150"/> <p align="center">Ihor's package</p> </h1>
Downloads
3
Readme
Getting Started
Install package using yarn
:
yarn add --dev jsmp-infrastructure-ihors-package
Or npm
:
npm install --save-dev jsmp-infrastructure-ihors-package
There are two usefull methods in package:
- update array. You can pass an array, one of props (push or drop) and value for this props. In case of push value will be pushed to array. In case of drop a value number items would be dropped from array.
Without any props input array would be returned.
updateArray(array, props, value)
- update string. update array. You can pass a string, one of props (upper or lower). Without any props input string would be returned.
updateString(array, props, value)