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

Version Path
trusty-festivity-extension-2.3.1 node_modules/bower/node_modules/mout/string/pascalCase.js
trusty-festivity-extension-2.3.0 node_modules/bower/node_modules/mout/string/pascalCase.js
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/mout/string/pascalCase.js
entangled-0.0.15 spec/dummy/public/node_modules/bower/node_modules/mout/string/pascalCase.js
entangled-0.0.14 spec/dummy/public/node_modules/bower/node_modules/mout/string/pascalCase.js
entangled-0.0.13 spec/dummy/public/node_modules/bower/node_modules/mout/string/pascalCase.js
entangled-0.0.12 spec/dummy/public/node_modules/bower/node_modules/mout/string/pascalCase.js
entangled-0.0.11 spec/dummy/public/node_modules/bower/node_modules/mout/string/pascalCase.js
entangled-0.0.10 spec/dummy/public/node_modules/bower/node_modules/mout/string/pascalCase.js