change-case
Advanced tools
Comparing version 2.1.6 to 2.2.0
{ | ||
"name": "change-case", | ||
"version": "2.1.6", | ||
"version": "2.2.0", | ||
"description": "Convert a string between camelCase, PascalCase, Title Case, snake_case and more.", | ||
"main": "change-case.js", | ||
"files": [ | ||
"change-case.js", | ||
"LICENSE" | ||
], | ||
"scripts": { | ||
@@ -32,21 +36,22 @@ "test": "istanbul cover _mocha -- -R spec" | ||
"istanbul": "^0.3.0", | ||
"mocha": "^1.18.2" | ||
"mocha": "^1.18.2", | ||
"pre-commit": "0.0.9" | ||
}, | ||
"dependencies": { | ||
"camel-case": "^1.0.0", | ||
"constant-case": "^1.0.0", | ||
"dot-case": "^1.0.0", | ||
"is-lower-case": "^1.0.0", | ||
"is-upper-case": "^1.0.0", | ||
"lower-case": "^1.0.0", | ||
"param-case": "^1.0.0", | ||
"pascal-case": "^1.0.0", | ||
"path-case": "^1.0.0", | ||
"sentence-case": "^1.0.0", | ||
"snake-case": "^1.0.0", | ||
"swap-case": "^1.0.0", | ||
"title-case": "^1.0.0", | ||
"upper-case": "^1.0.0", | ||
"upper-case-first": "^1.0.0" | ||
"camel-case": "^1.1.1", | ||
"constant-case": "^1.1.0", | ||
"dot-case": "^1.1.0", | ||
"is-lower-case": "^1.1.0", | ||
"is-upper-case": "^1.1.0", | ||
"lower-case": "^1.1.1", | ||
"param-case": "^1.1.0", | ||
"pascal-case": "^1.1.0", | ||
"path-case": "^1.1.0", | ||
"sentence-case": "^1.1.1", | ||
"snake-case": "^1.1.0", | ||
"swap-case": "^1.1.0", | ||
"title-case": "^1.1.0", | ||
"upper-case": "^1.1.1", | ||
"upper-case-first": "^1.1.0" | ||
} | ||
} |
@@ -6,3 +6,2 @@ # Change Case | ||
[![Test coverage][coveralls-image]][coveralls-url] | ||
[![Gittip][gittip-image]][gittip-url] | ||
@@ -46,2 +45,4 @@ Convert strings between `camelCase`, `PascalCase`, `Title Case`, `snake_case`, `lowercase`, `UPPERCASE`, `CONSTANT_CASE` and more. | ||
All methods accept two arguments, the string to change case and an optional locale. | ||
### [isUpperCase](https://github.com/blakeembrey/is-upper-case) | ||
@@ -134,3 +135,3 @@ | ||
changeCase.snakeCase('test string'); | ||
--> "test_string" | ||
//=> "test_string" | ||
``` | ||
@@ -197,3 +198,1 @@ | ||
[coveralls-url]: https://coveralls.io/r/blakeembrey/change-case?branch=master | ||
[gittip-image]: https://img.shields.io/gittip/blakeembrey.svg?style=flat | ||
[gittip-url]: https://www.gittip.com/blakeembrey |
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
7843
3
4
18
195
Updatedcamel-case@^1.1.1
Updatedconstant-case@^1.1.0
Updateddot-case@^1.1.0
Updatedis-lower-case@^1.1.0
Updatedis-upper-case@^1.1.0
Updatedlower-case@^1.1.1
Updatedparam-case@^1.1.0
Updatedpascal-case@^1.1.0
Updatedpath-case@^1.1.0
Updatedsentence-case@^1.1.1
Updatedsnake-case@^1.1.0
Updatedswap-case@^1.1.0
Updatedtitle-case@^1.1.0
Updatedupper-case@^1.1.1
Updatedupper-case-first@^1.1.0