Preparing search index...
The search index is not available
javadocs-scraper typedoc - v1.0.0
javadocs-scraper typedoc
PackageScraper
Class PackageScraper
Scrapes data from a package URL to a
PartialPackageData
.
Index
Constructors
constructor
Properties
annotation
Scraper
class
Scraper
enum
Scraper
fetcher
interface
Scraper
Methods
find
Related
Packages
scrape
scrape
Contents
Constructors
constructor
new
PackageScraper
(
options
:
{
annotationScraper
:
AnnotationScraper
;
classScraper
:
ClassScraper
;
enumScraper
:
EnumScraper
;
fetcher
:
Fetcher
;
interfaceScraper
:
InterfaceScraper
;
}
,
)
:
PackageScraper
Parameters
options
:
{
annotationScraper
:
AnnotationScraper
;
classScraper
:
ClassScraper
;
enumScraper
:
EnumScraper
;
fetcher
:
Fetcher
;
interfaceScraper
:
InterfaceScraper
;
}
Returns
PackageScraper
Properties
Protected
Readonly
annotation
Scraper
annotationScraper
:
AnnotationScraper
Protected
Readonly
class
Scraper
classScraper
:
ClassScraper
Protected
Readonly
enum
Scraper
enumScraper
:
EnumScraper
Protected
Readonly
fetcher
fetcher
:
Fetcher
Protected
Readonly
interface
Scraper
interfaceScraper
:
InterfaceScraper
Methods
Protected
find
Related
Packages
findRelatedPackages
(
$
:
CheerioAPI
,
strategy
:
QueryStrategy
)
:
string
[]
Parameters
$
:
CheerioAPI
strategy
:
QueryStrategy
Returns
string
[]
scrape
scrape
(
url
:
string
,
cache
:
ScrapeCache
,
strategy
:
QueryStrategy
,
)
:
Promise
<
PartialPackageData
>
Parameters
url
:
string
cache
:
ScrapeCache
strategy
:
QueryStrategy
Returns
Promise
<
PartialPackageData
>
Protected
scrape
Contents
scrapeContents
(
$
:
CheerioAPI
,
cache
:
ScrapeCache
,
packageData
:
PartialPackageData
,
strategy
:
QueryStrategy
,
)
:
Promise
<
void
>
Parameters
$
:
CheerioAPI
cache
:
ScrapeCache
packageData
:
PartialPackageData
strategy
:
QueryStrategy
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
annotation
Scraper
class
Scraper
enum
Scraper
fetcher
interface
Scraper
Methods
find
Related
Packages
scrape
scrape
Contents
javadocs-scraper typedoc - v1.0.0
Loading...
Scrapes data from a package URL to a PartialPackageData.