/**
 * Converts string to Start Case.
 * Drop-in replacement for lodash/startCase.
 */
import words from './words';
function capitalize(word) {
    return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();
}
export default function startCase(string) {
    return words(string).map(capitalize).join(' ');
}
