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

font-case-parser

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

font-case-parser - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "font-case-parser",
"version": "0.0.2",
"version": "0.0.3",
"description": "Convert font cases",

@@ -5,0 +5,0 @@ "repository": {

@@ -23,31 +23,2 @@ # Font Case

### Chaining Conversion Methods
You can chain any conversion method using `font-case` default function, getting converted value with `value()` method.
By doing so, you can convert any font case to another directly or create another font case as below.
```javascript
import fontCase from 'font-case';
const someString = 'some text to convert';
const pascalCase =
fontCase(someString)
.toCamelCase()
.capitalize()
.value();
// SomeTextToConvert
const anotherString = 'some-text-to-convert';
const snakeCase =
fontCase(someString)
.toSnakeCase()
.value();
// some_text_to_convert
```
## API Reference

@@ -54,0 +25,0 @@

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