split-camelcase-to-words

Utility to split words from camel case strings or continuous strings


Keywords
camelcase, words, string, split
License
MIT
Install
npm install split-camelcase-to-words@1.0.1

Documentation

Split-CamelCase-To-Words Build Status

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