1.0.4 • Published 4 years ago

weatherhub v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

weatherhub

Hi there 👋

A module that makes it easy to get the Temperature for 7 Days, Location and State for anywhere in the world.

install size

Install

You can install weatherhub from npm or yarn, provided a recent version of node.js is installed.

npm install weatherhub
yarn add weatherhub

Example

Here's a quick example of getting the weather for Ghaziabad:

const weatherhub = require('weatherhub');

const address = ''; // Ghaziabad
const access_token = ''; // token api.mapbox
const token = ''; // darksky token

// now(<Temperature with 7 Days, location, stateCode>) returns a Promise
const weather = weatherhub(address, access_token, token).then((results) => {
  console.log(results);
});

Licence

(c) 2021 ISC.

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago