npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

vacuumjs

1.0.1 • Public • Published

vacuumjs

A low-level node.js web page content extractor based on parse5.

Build Status codecov

Usage

var extract = require('vacuumjs')
var targetDOM = parse5.parse('some page content')
// the reference dom, not optional
var refDOM = parse5.parse('reference page content')
console.log(extract(targetDOM, refDOM))

Principium

  • Layout similairity
  • Text density

install

npm i vacuumjs

Downloadsweekly downloads

1

version

1.0.1

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability