Neighborly Package Megalodon

    wunderground-client
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.0 • Public • Published

    wunderground-client

    A weather underground (wunderground) client library written with typescript. This project was born out of some basic needs to periodically fetch key weather data for a given zip code.

    Installation Instructions

    npm install wunderground-client
    

    The code should work in browsers and node environments, but has been primarily tested using node.

    PRs are welcome for expansion into API requests others need to have wrapped. Use the getCurrentConditions method as an example to build off of.

    Example Usage

    const weatherClient = new WundergroundClient('<api key goes here>')
    const conditions = await weatherClient.getCurrentConditions('City', 'ST')

    Install

    npm i wunderground-client

    DownloadsWeekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    22.3 kB

    Total Files

    17

    Last publish

    Collaborators

    • mhagrelius