text-scraper
A tool for easy scraping of text content from HTML documents of arbitrary encoding.
Installation
npm install text-scraper# or if you only need the shell command: npm install -g text-scraper
Usage
Node:
var textScraper = ; textScraper;// or var document = '<h1>text</h1>' 'binary';textScraper;
Command line:
text-scraper 'http://en.wikipedia.org'
License
The code is available under MIT license.