1.1.1 • Published 5 years ago

jsmp-infra-package-name v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

jsmp-infra-package-name

Allow you to update your strings and arrays

API

Array

const { arrayMethods } = require('jsmp-infra-package-name');

arrayMethods(array, type);

Where

  • array is your array. Typeof should be 'Array'.
  • type is event type

    Type of event can be:

  1. 'increase' - Should update array with string.
  2. 'reduce' - Should reduce array.
  3. 'default' - Should return default message.

String

const { stringMethods } = require('jsmp-infra-package-name');

stringMethods(string, type);

Where

  • string is your string. Typeof should be 'String'.
  • type is event type

    Type of event can be:

  1. 'increase' - Should concat your string with another string.
  2. 'reduce' - Should reduce string on one character.
  3. 'uppercase' - Should transform string to uppercase.
  4. 'lowercase' - Should transform string to lowercase.
  5. 'default' - Should return default message.

1.1.1

5 years ago

1.1.0

5 years ago

1.0.7

5 years ago

1.0.62

5 years ago

1.0.61

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago