Files
upload-google-play/node_modules/decamelize
Drew Heavner a29f8cd536 Finished action
Adding the monolith node_modules dir for deployment
2019-12-04 09:58:34 -05:00
..
2019-12-04 09:58:34 -05:00
2019-12-04 09:58:34 -05:00
2019-12-04 09:58:34 -05:00
2019-12-04 09:58:34 -05:00

decamelize Build Status

Convert a camelized string into a lowercased one with a custom separator
Example: unicornRainbow → unicorn_rainbow

Install

$ npm install --save decamelize

Usage

const decamelize = require('decamelize');

decamelize('unicornRainbow');
//=> 'unicorn_rainbow'

decamelize('unicornRainbow', '-');
//=> 'unicorn-rainbow'

API

decamelize(input, [separator])

input

Type: string

separator

Type: string
Default: _

See camelcase for the inverse.

License

MIT © Sindre Sorhus