New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@lowerdeck/case

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lowerdeck/case

String case conversion utilities supporting multiple formats. Convert between camelCase, PascalCase, snake_case, kebab-case, and more.

npmnpm
Version
1.0.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@lowerdeck/case

String case conversion utilities supporting multiple formats. Convert between camelCase, PascalCase, snake_case, kebab-case, and more.

Installation

npm install @lowerdeck/case
yarn add @lowerdeck/case
bun add @lowerdeck/case
pnpm add @lowerdeck/case

Usage

import { Cases, capitalize } from '@lowerdeck/case';

// Different case conversions
Cases.toCamelCase('hello world');    // 'helloWorld'
Cases.toPascalCase('hello world');   // 'HelloWorld'
Cases.toKebabCase('hello world');    // 'hello-world'
Cases.toSnakeCase('hello world');    // 'hello_world'
Cases.toTitleCase('hello world');    // 'Hello World'
Cases.toSentenceCase('hello world'); // 'Hello world'

// Convenience function for title case
capitalize('hello world'); // 'Hello World'

License

This project is licensed under the Apache License 2.0.

Built with ❤️ by Metorial

FAQs

Package last updated on 30 Nov 2025

Related posts