Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wundergrounded

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wundergrounded - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "wundergrounded",
"version": "0.1.0",
"version": "0.1.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/wundergrounded.js",

@@ -1,2 +0,2 @@

#Wundergrounded
# Wundergrounded

@@ -7,3 +7,3 @@ A Node.js module that wraps Weather Underground API's in a flexible, easy-to-use interface. Offers optional request bundling, rate limiting, and caching of responses (all in the name of cutting down on the overall number of HTTP requests). Heavily inspired by [wundernode](https://github.com/evalcrux/wundernode) and [wundergroundnode](https://github.com/cendrizzi/wundergroundnode).

<br>
##Installation
## Installation

@@ -14,5 +14,5 @@ ```npm install wundergrounded --save```

<br>
##Usage
## Usage
###Initialization
### Initialization

@@ -58,3 +58,3 @@ ```javascript

**Making a bundled request for multiple features** for a specific location can be done by similar to the syntax below (current conditions, hourly forecast, and the 10-day forecast for 27705):
**Making a bundled request for multiple features** and a specific location can be done by similar to the syntax below (current conditions, hourly forecast, and the 10-day forecast for 27705):
```javascript

@@ -190,3 +190,3 @@ wundergrounded.conditions().hourly().forecast10day().request('27705', function(error, response) {

* **request(query, callback)**
Function for actually "firing" off an HTTP request to the Weather Underground API- used when chaining (bundling) multiple features on one call. An example of it being used can be found in the [Making a bundled request for multiple features](bundled-request-example) section above.
Function for actually "firing" off an HTTP request to the Weather Underground API- used when chaining (bundling) multiple features on one call. An example of it being used can be found in the "Making a bundled request for multiple features" section above.
* *query* - (optional) The query to send to the Weather Underground API.

@@ -200,1 +200,2 @@ * *callback* - (optional) A callback function to invoke once a response is received.

* 0.1.0 Initial release
* 0.1.1 Minor updates to README
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc