Skip to content

Javascript utility methods for string manipulations such as convert a string to camelCase or TitleCase

License

Notifications You must be signed in to change notification settings

gbhasha/js-str-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

Javascript utility methods for string manipulations such as convert a string to camelCase or TitleCase

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published