jsmp-infra-array-string-helper

1.1.1 • Public • Published

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'

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    2
    • latest

Version History

Package Sidebar

Install

npm i jsmp-infra-array-string-helper

Weekly Downloads

10

Version

1.1.1

License

MIT

Unpacked Size

7.64 kB

Total Files

8

Last publish

Collaborators

  • madfinn