SiteTree

Wraps a web site as an async tree

This class wraps a web address as an async tree, allowing it to be passed to functions such as @crawl.

SiteTree class

SiteTree([href]) constructor

  • href: string

async keys()

Returns: Promise>

Returns an empty set of keys.

For a variation of SiteTree that can return the keys for a site route, see ExplorableSiteTree.