|
|
3 місяців тому | |
|---|---|---|
| .. | ||
| index.d.ts | 3 місяців тому | |
| index.js | 3 місяців тому | |
| license | 3 місяців тому | |
| package.json | 3 місяців тому | |
| readme.md | 3 місяців тому | |
Convert a camelized string into a lowercased one with a custom separator
Example:unicornRainbow→unicorn_rainbow
$ npm install decamelize
const decamelize = require('decamelize');
decamelize('unicornRainbow');
//=> 'unicorn_rainbow'
decamelize('unicornRainbow', '-');
//=> 'unicorn-rainbow'
Type: string
Type: string\
Default: '_'
See camelcase for the inverse.