🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

pascalcase

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pascalcase

Convert a string to pascal case (upper camelcase).

2.0.0
latest
Version published
Weekly downloads
12M
7.29%
Maintainers
1
Weekly downloads
 
Created

What is pascalcase?

The pascalcase npm package is a simple utility that converts strings into PascalCase format. This can be useful for formatting variable names, class names, or other identifiers in programming to adhere to PascalCase naming conventions.

What are pascalcase's main functionalities?

String Conversion to PascalCase

Converts a given string to PascalCase by splitting the string into words, capitalizing the first letter of each word, and then concatenating them without spaces.

"hello world".split(' ').map(w => w.charAt(0).toUpperCase() + w.slice(1)).join('')

Other packages similar to pascalcase

FAQs

Package last updated on 29 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts