diff --git a/README.md b/README.md index f52420e..3751626 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ -# markupify +# json-markup Highlight your JSON with HTML markup - npm install markupify + npm install json-markup -Markupify will take a JSON document and add markup to it so it can be styled in a browser. +json-markup will take a JSON document and add markup to it so it can be styled in a browser. ``` js -var markupify = require('markupify'); +var jsonMarkup = require('json-markup'); -var html = markupify({hello:'world'}); +var html = jsonMarkup({hello:'world'}); console.log(html); ``` @@ -23,4 +23,4 @@ The above example will print the following HTML ``` Afterwards you can use css to style your output to your liking. -A stylesheet similar to [JSON view](https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc) is included in [style.css](https://github.com/mafintosh/markupify/blob/master/style.css) \ No newline at end of file +A stylesheet similar to [JSON view](https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc) is included in [style.css](https://github.com/mafintosh/markupify/blob/master/style.css)