NWS API client that caches data and dedupes simultaneous requests for the same data.

Some NWS endpoints require data from other endpoints. Frameworks like React encourage separate components to fetch data they need, separately. These factors together can create situations where endpoints are called redundantly.

Hierarchy

  • NwsClient

Constructors

Properties

pointCache: PointCache = ...
userAgent: undefined | string

Methods

Generated using TypeDoc