Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: node_modules/vulcanize/node_modules/whacko/Readme.md

Issue 800513006: Added vulcanize under third_party/npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: node_modules/vulcanize/node_modules/whacko/Readme.md
diff --git a/node_modules/vulcanize/node_modules/whacko/Readme.md b/node_modules/vulcanize/node_modules/whacko/Readme.md
new file mode 100644
index 0000000000000000000000000000000000000000..9b6d8bf0f9239dc72d8703670a685bae01481913
--- /dev/null
+++ b/node_modules/vulcanize/node_modules/whacko/Readme.md
@@ -0,0 +1,24 @@
+#Whacko
+[![Build Status](https://api.travis-ci.org/inikulin/whacko.svg)](https://travis-ci.org/inikulin/whacko)
+
+Whacko is a fork of the [cheerio](https://github.com/MatthewMueller/cheerio) that uses [parse5](https://github.com/inikulin/parse5) as an underlying platform.
+
+##Install
+```
+$ npm install whacko
+```
+
+##API
+Difference with cheerio:
+* Use `$.load(content)` to load HTML documents (e.g. missing `<html>` tags will be automatically emitted in this case).
+* Use `$(content)` to create HTML-fragments which can be later added to the loaded document.
+* Parser options (e.g. `xmlMode` and `normalizeWhitespace`) are missing since whacko is intended for spec compliant HTML parsing.
+
+In all other aspects it is the same with the [cheerio API](https://github.com/MatthewMueller/cheerio#api).
+
+##Questions or suggestions?
+If you have any questions, please feel free to create an issue [here on github](https://github.com/inikulin/whacko/issues).
+
+
+##Author
+[Ivan Nikulin](https://github.com/inikulin) (ifaaan@gmail.com)
« no previous file with comments | « node_modules/vulcanize/node_modules/update-notifier/readme.md ('k') | node_modules/vulcanize/node_modules/whacko/index.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698