font-case-parser
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20146
34