Sha256: e36a620a948909d3473d44a8250fee788800538fee18c8fe941c3d94666c64d8

Contents?: true

Size: 155 Bytes

Versions: 14

Compression:

Stored size: 155 Bytes

Contents

function snakeToCamelCase(s) {
  return s.replace(/(_\w)/g, function (match) {
    return match[1].toUpperCase()
  })
}

module.exports = snakeToCamelCase

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
shakapacker-7.2.3 package/utils/snakeToCamelCase
shakapacker-7.3.0.beta.1 package/utils/snakeToCamelCase
shakapacker-7.2.2 package/utils/snakeToCamelCase
shakapacker-7.2.1 package/utils/snakeToCamelCase
shakapacker-7.2.0 package/utils/snakeToCamelCase
shakapacker-7.2.0.rc.0 package/utils/snakeToCamelCase
shakapacker-7.1.0 package/utils/snakeToCamelCase
shakapacker-7.0.3 package/utils/snakeToCamelCase
shakapacker-7.0.2 package/utils/snakeToCamelCase
shakapacker-7.0.1 package/utils/snakeToCamelCase
shakapacker-7.0.0 package/utils/snakeToCamelCase
shakapacker-7.0.0.rc.2 package/utils/snakeToCamelCase
shakapacker-7.0.0.rc.1 package/utils/snakeToCamelCase
shakapacker-7.0.0.rc.0 package/utils/snakeToCamelCase