node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



Summarizes and reads articles to you via the command line



Command-line usage

npm install -g read-this

read-this "url"


While read-this is primarily a command line package, you can still use it as a module.

Install the package with:

npm install --save read-this

How to use

let ReadThis = require('read-this')
let readThis = new ReadThis()
readThis.summarizeAndRead(url, optional boolean)

summarizeAndRead only requires a url. You can pass an optional boolean of true to it as a second parameter to have it print your summary to the console while it's being read. When using read-this from the command line the boolean is passed internally to allow printing to the console.






The output of the above examples will be:

Really, we did.To salt the wound, there are now dozens of Harambe Cheeto-related items polluting the eBay listings, a cruel burlesque at the nadir of consumerism and irony and possibly humanity itself.

If you want one, you can buy one with your hard-earned money. We're going to choose NOT to believe the Cheeto -- which "looks like Harambe the Gorilla" in the way any given Cheeto looks like anything -- sold for almost $100,000 after a 132-episode bidding war. Read MoreThat's what the eBay page says, but if you believe that, then you are admitting the flame of human innovation dies here, snuffed out under an amorphous log of cornmeal and monosodium glutamate.