jsmp-infra-sirash
v1.0.0
Published
package is part of hw
Downloads
13
Readme
#SJMP-INFRA-SIRASH
#DESCRIPTION
Has a set of two functions which take string (concatString) or array (findDifference).
- concatString have ability concat passed strings.
- findDifference have ability find difference between passed arrays
#INSTALLATION
try npm i jsmp-infra-sirash
or yarn add jsmp-infra-sirash
#EXAMPLES
You need to import this package into your project
import transformer from 'jsmp-infra-sirash'; //ES6 modules
const helper = require('jsmp-infra-sirash'); //Old-fashioned syntax
Next you could just use it like this:
concatString('1', '2', '3') // 123
concatString('test') // test
findDifference([1, 2, 3], 1, 2) // [3];
findDifference([100, 500, 501, 333333, 0.1], 100, 200, 300, 400, 500, 600) // [501, 333333, 0.1]