New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

to-pascal-case

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

to-pascal-case

Convert a string to pascal case.

0.0.2
Source
npm
Version published
Maintainers
1
Created
Source

to-pascal-case

Convert a string to pascal case.

Installation

$ component install ianstormtaylor/to-pascal-case
$ npm install to-pascal-case

Example

var pascal = require('to-pascal-case');

pascal('space case'); // "SpaceCase"
pascal('snake_case'); // "SnakeCase"
pascal('dot.case');   // "DotCase"
pascal('weird[case'); // "WeirdCase"

API

toCamelCase(string)

Returns the pascal-case variant of a string.

License

MIT

Keywords

pascal

FAQs

Package last updated on 02 Oct 2013

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