Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

case-convert

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

case-convert

Cross library to convert case with permissive input

  • 1.1.0
  • PyPI
  • Socket score

Maintainers
1

Convert Case

Cross-language library to convert case with permissive inputs.

Language supported

The library is available in:

  • js
  • python

Code examples

Code example: JavaScript

import { camelCase } from "../src/index";

camelCase("helloGreat world");  // helloGreatWorld
camelCase("__hello Great--world");  // helloGreatWorld

Code example: Python

from case_convert import camel_case

camel_case("helloGreat world")  # helloGreatWorld
camel_case("__hello Great--world")  # helloGreatWorld

Cases supported

The library can convert to the following cases:

  • camel
  • kebab
  • pascal
  • snake
  • upper

Issues/Bug report or improvement ideas

https://gitlab.com/olive007/case-convert/-/issues

License

GNU Lesser General Public License v3 or later (LGPLv3+)

FAQs


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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc