Sha256: 79ee31e6399a3d570b9835bda4aedde56d8570bc94ee4d6d8168377adb05e6a5
Contents?: true
Size: 340 Bytes
Versions: 69
Compression:
Stored size: 340 Bytes
Contents
var toString = require('../lang/toString'); var camelCase = require('./camelCase'); var upperCase = require('./upperCase'); /** * camelCase + UPPERCASE first char */ function pascalCase(str){ str = toString(str); return camelCase(str).replace(/^[a-z]/, upperCase); } module.exports = pascalCase;
Version data entries
69 entries across 69 versions & 2 rubygems