Utility functions for string operations
To install the stable version you can use npm or yarn:
Using npm:
$ npm i js-string-utils --save
Using yarn:
$ yard add js-string-utils
Include into your javascript file:
import strUtils from 'js-string-utils';
strUtils.toCamelCase('Hello World'); // returns 'helloWorld'
strUtils.toTitleCase('HELLO WORLD'); // returns 'Hello World'
.randomString()
.toCamelCase()
.toTitleCase()