split-camelcase-to-words
v1.0.1
Published
Utility to split words from camel case strings or continuous strings
Downloads
1,537
Readme
Split-CamelCase-To-Words
Convert camelcase string to words
Install
npm install --save split-camelcase-to-words
Import
var toWords = require('split-camelcase-to-words');
or
import toWords from 'split-camelcase-to-words';
Use
toWords('HelloWorld HowAreYou')
=> Hello World How Are You
toWords('helloWorld howAreYou')
=> Hello World How Are You
toWords('helloWorld')
=> Hello World