Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | 6 éve | |
---|---|---|
.. | ||
index.js | 7 éve | |
license | 7 éve | |
package.json | 6 éve | |
readme.md | 7 éve |
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