Skip to main content

Cross library to convert case with permissive input

Project description

Convert Case

Cross-language library to convert case with permissive inputs.

Language supported

The library is available in:

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+)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

case_convert-1.1.0.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file case_convert-1.1.0.tar.gz.

File metadata

  • Download URL: case_convert-1.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for case_convert-1.1.0.tar.gz
Algorithm Hash digest
SHA256 38c38b845dcb8537f7c062d99e3311177a24ff44e6765ff5926ab9e3bce0ed55
MD5 5218df77bfa62cc92ef8bb126a25b5bf
BLAKE2b-256 bd7beda64cbd50cc0e37bb40923ad88ee750f5c97afff2fa8da61ef31ce4c1dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page