caoge c760052ff9 机车状态修改 | il y a 8 mois | |
---|---|---|
.. | ||
index.js | il y a 8 mois | |
license | il y a 8 mois | |
package.json | il y a 8 mois | |
readme.md | il y a 8 mois |
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