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

@paradoxinfinite/convert-case

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paradoxinfinite/convert-case

A simple package to switch between multiple case standards effortlessly.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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');
    console.log(camelCaseString);
    // Outputs: helloWorld
    

Contributing:

  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!

Keywords

FAQs

Package last updated on 01 Oct 2021

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