Class: Index

Index()

Loads and manages a product package index

Constructor

new Index()

Source:

Members

_reporter :Reporter

Type:
Source:

Methods

(async) loadFromURL(packageURL)

Location of the product data package
Parameters:
Name Type Description
packageURL URL
Source:

parse(index)

Parse JSON into class structure
Parameters:
Name Type Description
index Object
Source:

report(log)

Parameters:
Name Type Description
log Object
Properties
Name Type Attributes Description
msg string
level SyslogLevel <optional>
Source:

toJSON() → {Object}

Source:
Returns:
Type
Object