toStudlyCaps

Transform to StudlyCaps.

Install

Install all functions of strman

yarn add strman

or just the toStudlyCaps function

yarn add strman.tostudlycaps

Usage

import { toStudlyCaps } from 'strman'
// OR
import toStudlyCaps from 'strman.tostudlycaps'
Parameters:
Name Type Description
value String

The String!

Source:
Returns:

String in StudlyCaps.

Type
String
Example
const title = 'A Javascript string manipulation library.'
toStudlyCaps(title)
// => 'AJavascriptStringManipulationLibrary.'