|
|
месяцев назад: 10 | |
|---|---|---|
| .. | ||
| index.js | месяцев назад: 10 | |
| license | месяцев назад: 10 | |
| package.json | месяцев назад: 10 | |
| readme.md | месяцев назад: 10 | |
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