chensenlai 10988628a0 语音房项目初始化 | лет назад: 5 | |
---|---|---|
.. | ||
index.js | лет назад: 5 | |
license | лет назад: 5 | |
package.json | лет назад: 5 | |
readme.md | лет назад: 5 |
Convert a camelized string into a lowercased one with a custom separator
Example:unicornRainbow
→unicorn_rainbow
$ npm install --save decamelize
const decamelize = require('decamelize');
decamelize('unicornRainbow');
//=> 'unicorn_rainbow'
decamelize('unicornRainbow', '-');
//=> 'unicorn-rainbow'
Type: string
Type: string
Default: _
See camelcase
for the inverse.
MIT © Sindre Sorhus