UNPKG

sikits

Version:

A powerful and comprehensive utility library for JavaScript and TypeScript with 100+ functions for strings, numbers, arrays, and objects

6 lines (5 loc) 249 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.camelCase = void 0; const camelCase = (str) => str.replace(/(?:^|\s)([a-z])/g, (_, char) => char.toUpperCase()).replace(/\s+/g, ""); exports.camelCase = camelCase;