jsmp-infra-super-puper-npm-package v1.2.2
Hello! It's Super Puper NPM Package! Here you can use 2 functions to make your Arrays and Strings awesome!
- awesomeString(string, option)
string string - your string to make awesome option string - awesome option 'smart-upper' : Make every first letter in word awesome 'lower' : Make every letter in word some awesomeness
- awesomeArray(array, option)
array array - your array to make awesome option object { superdefault: true awesomedefault: true superPuperdefault: true }
Examples usage: const superPuper = require('jsmp-infra-super-puper-npm-package')
superPuper.awesomeString('Test long string', 'smart-upper') => 'Awesome smart-upper string: Test Long String!'
superPuper.awesomeArray('my','test','array') => 'Here your super, awesome, superPuper array: my,test,array' superPuper.awesomeArray('my','test','array', {super: false, awesome: false}) => 'Here your superPuper array: my,test,array', 'should convert array to awesome string');