Skip to content

ianstormtaylor/to-space-case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

to-space-case

Convert a string to a space case.

Installation

$ component install ianstormtaylor/to-space-case
$ npm install to-space-case

Example

var space = require('to-space-case');

space('camelCase');  // "camel case"
space('snake_case'); // "snake case"
space('dot.case');   // "dot case"

API

toSpaceCase(string)

Returns the space-case variant of a string.

License

MIT

About

Convert a string to a space case.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors