|
|
3 yıl önce | |
|---|---|---|
| .. | ||
| index.js | 3 yıl önce | |
| package.json | 3 yıl önce | |
| readme.md | 3 yıl önce | |
Convert a camelized string into a lowercased one with a custom separator
Example:unicornRainbow→unicorn_rainbow
$ npm install --save decamelize
var decamelize = require('decamelize');
decamelize('unicornRainbow');
//=> unicorn_rainbow
decamelize('unicornRainbow', '-');
//=> unicorn-rainbow
Required
Type: string
Type: string
Default: _
See camelcase for the inverse.
MIT © Sindre Sorhus