|
|
hai 5 días | |
|---|---|---|
| .. | ||
| index.d.ts | hai 5 días | |
| index.js | hai 5 días | |
| license | hai 5 días | |
| package.json | hai 5 días | |
| readme.md | hai 5 días | |
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.