TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

convert-case Unit Tests GitHub version npm version

A simple package to switch between multiple case standards effortlessly.

Full docs available here.

Note: This is still under active development, keep an eye out for new features!

Important note:

While using the object related functions, make sure your object is not polluted with mixed cases for keys. Errors, other than validations, are no longer thrown but console.errored. So, please be sure to check (error) logs before raising a bug on this.

Installation and Usage:

  1. Run the following to install the package
    npm install @paradoxinfinite/convert-case
    # OR
    npm i @paradoxinfinite/convert-case
  2. Import the package as
    const convertCase = require('@paradoxinfinite/convert-case');
    // OR
    import convertCase from '@paradoxinfinite/convert-case';
  3. Use one of the functions after the import
    const camelCaseString = convertCase.snakeToCamel('hello_world');
    // Outputs: helloWorld


  1. Test Cases: I would really appreciate any help on writing test cases for this package. The more testing it gets, the better it will be.

  2. Bug fixes and feature development: If you want to contribute to the code, feel free to raise a PR as long as it's a minor change. For a major change, please open an issue and discuss it out before you raise a PR or even get started with coding!

  3. Feature requests: Feature requests will be great, raise an issue with the feature template to let me know what feature you would like added.

  4. Documentation: Documentation and examples are also an amazing way to contribute, so if you notice any mistakes or want to add more content to the docs, you are more than welcome to!


npm i @paradoxinfinite/convert-case

DownloadsWeekly Downloads






Unpacked Size

21.7 kB

Total Files


Last publish


  • paradoxinfinite