extract-main-text

1.0.3 • Public • Published

extract-main-text-node

Ported from mono0x/extractcontent.

Installing

npm install extract-main-text

Usage

var BodyExtractor = require('extract-main-text');
var extractor = new BodyExtractor({
    url: 'http://***.com/'
  });
extractor.analyze()
  .then(function(text) {
    console.log(extractor.title);
    console.log(extractor.mainText);
  });

License

The BSD license

Readme

Keywords

none

Package Sidebar

Install

npm i extract-main-text

Weekly Downloads

0

Version

1.0.3

License

BSD

Unpacked Size

12.9 kB

Total Files

7

Last publish

Collaborators

  • craftzdog