Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.
edpiburkhart edited this page Jul 20, 2016 · 2 revisions

Welcome to the openweathermap-js wiki!

Installation

To install openweathermap-js, download and unzip it in your node.js project's folder. Then, update it by using npm install in openweathermap-js folder. You can then use it by writing :

const weather = require('openweathermap-js');

Usage

This module includes 4 functions :

  • defaults is used to initialize the parameters : Defaults
  • current gives you the current weather according to the options given
  • forecast gives you a 5 day / 3 hour forecast
Clone this wiki locally