0.0.5 • Published 7 years ago
plankton-text v0.0.5
Plankton Text
Text manipulation methods built on top of Plankton namespace.
Initialize
var text = window.plankton.text;
Or
var text = require('plankton-text');
Usage
capitalize
text.capitalize('myText'); // MyText
camelize
text.camelize('MyClassName'); // myClassName
text.camelize('my class name'); // myClassName
ucwords
text.ucwords('my nice title'); // My Nice Title