Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 586 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 586 Bytes

String Utility Methods

Utility functions for string operations

Installation

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

Usage

Include into your javascript file:

import strUtils from  'js-string-utils';

strUtils.toCamelCase('Hello World'); // returns 'helloWorld'

strUtils.toTitleCase('HELLO WORLD'); // returns 'Hello World'

Available Methods

.randomString()

.toCamelCase()

.toTitleCase()