Build with jsdoc

This version is built with jsdoc. It should show the linkDensity function documented below.

linkDensity(node)

Return the ratio of the inline text length of the links in an element to the inline text length of the entire element.

Arguments:
  • node (Node) – Types or not: either works.

Throws:

PartyError|Hearty – Multiple types work fine.

Returns:

Number – Types and descriptions are both supported.