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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 #Whacko
2 [![Build Status](https://api.travis-ci.org/inikulin/whacko.svg)](https://travis- ci.org/inikulin/whacko)
3
4 Whacko is a fork of the [cheerio](https://github.com/MatthewMueller/cheerio) tha t uses [parse5](https://github.com/inikulin/parse5) as an underlying platform.
5
6 ##Install
7 ```
8 $ npm install whacko
9 ```
10
11 ##API
12 Difference with cheerio:
13 * Use `$.load(content)` to load HTML documents (e.g. missing `<html>` tags will be automatically emitted in this case).
14 * Use `$(content)` to create HTML-fragments which can be later added to the load ed document.
15 * Parser options (e.g. `xmlMode` and `normalizeWhitespace`) are missing since wh acko is intended for spec compliant HTML parsing.
16
17 In all other aspects it is the same with the [cheerio API](https://github.com/Ma tthewMueller/cheerio#api).
18
19 ##Questions or suggestions?
20 If you have any questions, please feel free to create an issue [here on github]( https://github.com/inikulin/whacko/issues).
21
22
23 ##Author
24 [Ivan Nikulin](https://github.com/inikulin) (ifaaan@gmail.com)
OLDNEW
« 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