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

fathom-web

2.3.0 • Public • Published

Fathom

Fathom is a JavaScript framework for extracting meaning from web pages, identifying parts like Previous/Next buttons, address forms, and the main textual content—or classifying a page as a whole. Essentially, it scores DOM nodes and extracts them based on conditions you specify. A Prolog-inspired system of types and annotations expresses dependencies between scoring steps and keeps state under control. It also provides the freedom to extend existing sets of scoring rules without editing them directly, so multiple third-party refinements can be mixed together.

Continue reading at https://mozilla.github.io/fathom/intro.html#why.

install

npm i fathom-web

Downloadsweekly downloads

1,360

version

2.3.0

license

MPL-2.0

repository

githubgithub

last publish

collaborators

  • avatar