UNPKG

@techmely/utils

Version:

Collection of helpful JavaScript / TypeScript utils

20 lines (15 loc) 338 B
/*! * @techmely/utils * Copyright(c) 2021-2024 Techmely <techmely.creation@gmail.com> * MIT Licensed */ import { cacheStringFunction } from "./chunk-2Z727VLZ.mjs"; // src/snakeToCamel.ts var snake2camel = cacheStringFunction((str) => { return str.replace(/_([a-z])/g, (g) => g[1].toUpperCase()); }); export { snake2camel };