node-readability
Advanced tools
Comparing version 1.0.2 to 2.0.0
{ | ||
"name": "node-readability", | ||
"version": "1.0.2", | ||
"version": "2.0.0", | ||
"author": "Zihua Li", | ||
@@ -22,9 +22,9 @@ "description": "Turning any web page into a clean view.", | ||
"dependencies": { | ||
"jsdom": "^1.0.3", | ||
"request": "~2.40.0", | ||
"encoding": "~0.1.7" | ||
"encoding": "~0.1.7", | ||
"jsdom": "^6.3.0", | ||
"request": "~2.40.0" | ||
}, | ||
"engines": [ | ||
"node >=0.8.0" | ||
], | ||
"engines": { | ||
"iojs": ">= 2.0.0" | ||
}, | ||
"keywords": [ | ||
@@ -31,0 +31,0 @@ "readability" |
@@ -20,4 +20,6 @@ # Readability | ||
npm install node-readability | ||
$ npm install node-readability | ||
Note that as of our 2.0.0 release, this module no longer works with Node.js, and instead requires io.js (which is planned to replace Node.js). In the meantime you are still welcome to install a release in the 1.x series(by `npm install node-readability@1`) if you use Node.js. | ||
## Usage | ||
@@ -24,0 +26,0 @@ |
@@ -11,3 +11,3 @@ require('./mock-helpers.js'); | ||
'</title></head><body><h1>' + read.title + '</h1>' + read.content + '</body></html>'; | ||
html.should.include('<title>Dispatch From Angola: Faith-Based Slavery in a Louisiana Prison - COLORLINES</title>'); | ||
html.should.include('<title>Dispatch From Angola: Faith-Based Slavery in a Louisiana Prison'); | ||
read.close.should.be.a.Function | ||
@@ -14,0 +14,0 @@ read.close(); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3731381
136
+ Addedacorn@2.7.0(transitive)
+ Addedacorn-globals@1.0.9(transitive)
+ Addeddeep-is@0.1.4(transitive)
+ Addedescodegen@1.14.3(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedestraverse@4.3.0(transitive)
+ Addedesutils@2.0.3(transitive)
+ Addedfast-levenshtein@2.0.6(transitive)
+ Addedjsdom@6.5.1(transitive)
+ Addedlevn@0.3.0(transitive)
+ Addedoptionator@0.8.3(transitive)
+ Addedprelude-ls@1.1.2(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsymbol-tree@3.2.4(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedtype-check@0.3.2(transitive)
+ Addedwhatwg-url-compat@0.6.5(transitive)
+ Addedword-wrap@1.2.5(transitive)
+ Addedxml-name-validator@2.0.1(transitive)
+ Addedxtend@4.0.2(transitive)
- Removedbindings@1.5.0(transitive)
- Removedcontextify@0.1.15(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedjsdom@1.5.0(transitive)
- Removednan@2.20.0(transitive)
Updatedjsdom@^6.3.0