Socket
Socket
Sign inDemoInstall

node-readability

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-readability - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

14

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc