Submit
Path:
~
/
/
opt
/
alt
/
alt-nodejs11
/
root
/
lib
/
node_modules
/
npm
/
node_modules
/
decamelize
/
File Content:
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)
Submit
FILE
FOLDER
Name
Size
Permission
Action
index.js
323 bytes
0644
license
1119 bytes
0644
package.json
1686 bytes
0644
readme.md
781 bytes
0644
N4ST4R_ID | Naxtarrr