Sha256: 823e0eb33d70fd99f2273378f52251ca5f03f2a84c5e49390f3663ea0d336ae3

Contents?: true

Size: 132 Bytes

Versions: 2

Compression:

Stored size: 132 Bytes

Contents

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

module.exports = snakeToCamelCase

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shakapacker-8.0.2 package/utils/snakeToCamelCase.js
shakapacker-8.0.1 package/utils/snakeToCamelCase.js