import R from 'ramda';
import uncapitalize from './uncapitalize.js';
import pascalCase from './pascal-case.js';

// a -> a
const camelCase = R.compose(uncapitalize, pascalCase);

export default camelCase;

import R from 'ramda';
import compose from './util/compose.js';
import uncapitalize from './uncapitalize.js';
import pascalCase from './pascal-case.js';

// a -> a
const camelCase = compose(uncapitalize, pascalCase);

export default camelCase;

Refactor camelCase function to use custom compose function
Refactor camelCase function to use custom compose function
