1.1.1 • Published 4 years ago

jsmp-infra-array-string-helper v1.1.1

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

jsmp-infra-array-string-helper

Create an array of object values without determined object fields, from the input array if objects

Modify string to zIgZaG case

Install

$ npm install jsmp-infra-array-string-helper

Usage

const {
  getModifiedArray,
  convertToZigzagCase
} = require('jsmp-infra-array-string-helper');

getModifiedArray([{ name: 'John', age: 25, id: '1' }], 'id');
//=> [{ name: 'John', age: 25 }]

convertToZigzagCase('fizzbuzz', 0);
//=> 'FiZzBuZz'

convertToZigzagCase('fizzbuzz', 1);
//=> 'fIzZbUzZ'
1.1.1

4 years ago

1.1.0

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago