change-case
Advanced tools
Comparing version 5.0.1 to 5.0.2
{ | ||
"name": "change-case", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Transform a string between `camelCase`, `PascalCase`, `Capital Case`, `snake_case`, `kebab-case`, `CONSTANT_CASE` and others", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -15,15 +15,16 @@ # Change Case | ||
| Method | Result | | ||
| -------------- | ----------- | | ||
| `camelCase` | `twoWords` | | ||
| `capitalCase` | `Two Words` | | ||
| `constantCase` | `TWO_WORDS` | | ||
| `dotCase` | `two.words` | | ||
| `trainCase` | `Two-Words` | | ||
| `kebabCase` | `two-words` | | ||
| `noCase` | `two words` | | ||
| `pascalCase` | `TwoWords` | | ||
| `pathCase` | `two/words` | | ||
| `sentenceCase` | `Two words` | | ||
| `snakeCase` | `two_words` | | ||
| Method | Result | | ||
| ----------------- | ----------- | | ||
| `camelCase` | `twoWords` | | ||
| `capitalCase` | `Two Words` | | ||
| `constantCase` | `TWO_WORDS` | | ||
| `dotCase` | `two.words` | | ||
| `kebabCase` | `two-words` | | ||
| `noCase` | `two words` | | ||
| `pascalCase` | `TwoWords` | | ||
| `pascalSnakeCase` | `Two_Words` | | ||
| `pathCase` | `two/words` | | ||
| `sentenceCase` | `Two words` | | ||
| `snakeCase` | `two_words` | | ||
| `trainCase` | `Two-Words` | | ||
@@ -63,4 +64,8 @@ All core methods accept [`options`](#options) as the second argument. | ||
## TypeScript and ESM | ||
This package is a [pure ESM package](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) and ships with TypeScript definitions. It cannot be `require`'d or used with CommonJS module resolution in TypeScript. | ||
## License | ||
MIT |
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
28543
70