lower-case
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "lower-case", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Lowercase a string", | ||
@@ -5,0 +5,0 @@ "main": "lower-case.js", |
@@ -8,3 +8,3 @@ # Lower Case | ||
Lower case a string. | ||
Lower case a string. Also handles non-string entities, such as objects with a `toString` property, numbers and booleans. Empty values (`null` and `undefined`) will come out as an empty string. | ||
@@ -22,3 +22,6 @@ ## Installation | ||
lowerCase(null); //=> "" | ||
lowerCase('STRING'); //=> "string" | ||
upperCase({ toString: function () { return 'TEST'; } }); //=> "test" | ||
``` | ||
@@ -25,0 +28,0 @@ |
3722
39