D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel
/
ea-nodejs10
/
lib
/
node_modules
/
npm
/
node_modules
/
decamelize
/
Filename :
readme.md
back
Copy
# 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)
Name
Size
Last Modified
Owner
Permissions
Actions
index.js
0.315
KB
September 13 2023 2:48:05
root
0644
license
1.093
KB
September 13 2023 2:48:05
root
0644
package.json
1.646
KB
September 13 2023 2:48:05
root
0644
readme.md
0.763
KB
September 13 2023 2:48:05
root
0644
2017 © D7net | D704T team