remove-case
v1.0.2
Published
Remove any case applied to a string e.g camelCase, kebab-case etc.
Downloads
3
Maintainers
Readme
Remove Case
One thing that comes up sometimes in website building is to Convert Object keys to simple string in order to display it to user. Remove Case package is used for the same purpose.
Here are the 3 simple steps to use it in your JS Project
Step 1:
Instalitions
$ npm i remove-case
Step 2:
Importing to component
import remove from 'remove-case';
Step 3:
Usage
remove('somestring') //=> "Somestring"
remove('dot.case') //=> "Dot Case"
remove('camelCase') //=> "Camel Case"
remove("key_f") //=> "Key F"
remove("kebab-case") //=> "Kebab Case"
remove(null) //=> "null"
Please feel free to contact if you have any problem while using this package, I always like to help and solve the problems of other people.
Email: [email protected]