1.0.4 • Published 3 years ago

jsmp-infra-helplfull-things v1.0.4

Weekly downloads
6
License
ISC
Repository
-
Last release
3 years ago

What is it for

Get the all power of working with strings and array in JS.

Install

$ npm install jsmp-infra-helplfull-things --save

Usage

###String

import * as things from 'jsmp-infra-helplfull-things';

const result = prependToString('your string', 'prepend string');

###Array

import * as things from 'jsmp-infra-helplfull-things';

const yourArray = [1, 2, 3];
const callback = coolElement => coolElement * 2;

const result = updateArrayWithCallback(yourArray, callback);

##Attention

Be aware when using import/export in Node, add the field "type": "module" in package.json.

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago