X7ROOT File Manager
Current Path:
/usr/lib/node_modules/npm/node_modules/decamelize
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
decamelize
/
ðŸ“
..
📄
index.js
(323 B)
📄
license
(1.09 KB)
📄
package.json
(1.65 KB)
📄
readme.md
(781 B)
Editing: readme.md
# decamelize [](https://travis-ci.org/sindresorhus/decamelize) > Convert a camelized string into a lowercased one with a custom separator<br> > Example: `unicornRainbow` → `unicorn_rainbow` ## Install ``` $ npm install --save decamelize ``` ## Usage ```js const decamelize = require('decamelize'); decamelize('unicornRainbow'); //=> 'unicorn_rainbow' decamelize('unicornRainbow', '-'); //=> 'unicorn-rainbow' ``` ## API ### decamelize(input, [separator]) #### input Type: `string` #### separator Type: `string`<br> Default: `_` ## Related See [`camelcase`](https://github.com/sindresorhus/camelcase) for the inverse. ## License MIT © [Sindre Sorhus](https://sindresorhus.com)
Upload File
Create Folder