UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

10 lines (7 loc) 229 B
import { capitalize } from './capitalize.mjs'; import { words } from './words.mjs'; function pascalCase(str) { const words$1 = words(str); return words$1.map(word => capitalize(word)).join(''); } export { pascalCase };