Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "hyphenate", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A simple helper function that hyphenates phrases.", | ||
@@ -5,0 +5,0 @@ "main": "bld/index.js", |
@@ -17,3 +17,4 @@ # Hyphenate [![Build Status](https://travis-ci.org/vilic/hyphenate.svg)](https://travis-ci.org/vilic/hyphenate) | ||
hyphenate('hello, world!'); // "hello-world" | ||
hyphenate('JSONDataItems'); // "json-data-items" | ||
hyphenate('JSONDataItems'); // "JSON-Data-Items" | ||
hyphenate('JSONDataItems', { lowerCase: true }); // "json-data-items" | ||
``` | ||
@@ -20,0 +21,0 @@ |
4107
26