1234567891011121314151617181920212223242526272829 |
- var capitalize = require('./capitalize'),
- createCompounder = require('./_createCompounder');
- var camelCase = createCompounder(function(result, word, index) {
- word = word.toLowerCase();
- return result + (index ? capitalize(word) : word);
- });
- module.exports = camelCase;
|