Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 1, 2024 via pnpm

pascal-case 3.1.2

Transform into a string of capitalized words without separators
Package summary
Share
0
issues
2
licenses
3
MIT
1
0BSD
Package created
24 Mar 2014
Version published
2 Dec 2020
Maintainers
1
Total deps
4
Direct deps
2
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
lower-case@2.0.2
no-case@3.0.4
pascal-case@3.1.2

BSD Zero Clause License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
include-copyright
include-license
include-original
Cannot
hold-liable
Must
1 Packages, Including:
tslib@2.6.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

2
All Dependencies CSV
β“˜ This is a list of pascal-case 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
no-case3.0.45.6 kBMIT
prod
tslib2.6.215.59 kB0BSD
prod

Visualizations

Frequently Asked Questions

What does pascal-case do?

The "pascal-case" is a highly functional npm package that serves the purpose of transforming any given string into a sequence of capitalized words, completely devoid of separators.

How do you use pascal-case?

Using "pascal-case" npm package is a straightforward process. After installing the package through npm with the command npm install pascal-case --save, you can import the function into your JavaScript file as follows:

import { pascalCase } from "pascal-case";

You can then use the pascalCase function to transform strings following the syntax pascalCase("yourString"). Examples of the function in action are:

pascalCase("string"); //=> "String"
pascalCase("dot.case"); //=> "DotCase"
pascalCase("PascalCase"); //=> "PascalCase"
pascalCase("version 1.2.10"); //=> "Version_1_2_10"

If you prefer not to have an underscore prefixing numbers in your string, you can utilize the pascalCaseTransformMerge option as below:

import { pascalCaseTransformMerge } from "pascal-case";
pascalCase("version 12", { transform: pascalCaseTransformMerge }); //=> "Version12"

Where are the pascal-case docs?

The documentation for "pascal-case" can be found within the README provided on the GitHub repository for the package, which is git://github.com/blakeembrey/change-case.git. This includes details around usage and the option to merge numbers with the pascalCaseTransformMerge function.