to-no-case

Remove an existing case from a string.

npm install to-no-case
75 downloads in the last day
157 downloads in the last week
498 downloads in the last month

to-no-case

Remove an existing case from a string.

Installation

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

Example

var clean = require('to-no-case');

clean('camelCase');       // "camel case"
clean('snake_case');      // "snake case"
clean('slug-case');       // "slug case"
clean('Title of Case');   // "title of case"
clean('Sentence case.');  // "sentence case."

API

toNoCase(string)

Returns the string with an existing case removed.

License

MIT

npm loves you