Socket
Socket
Sign inDemoInstall

node-clima

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-clima - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

1

lib/node-clima.js

@@ -67,2 +67,3 @@ var request = require('request');

clima.prototype.language = 'en';
clima.prototype.apikey = '';

@@ -69,0 +70,0 @@ clima.prototype.format = '';

2

package.json
{
"name": "node-clima",
"version": "0.0.6",
"version": "0.0.7",
"description": "Simple wrapper for OpenWeatherMap API",

@@ -5,0 +5,0 @@ "author": "Roberto Serrano Diaz-Grande",

@@ -22,11 +22,11 @@ [![Build Status](https://travis-ci.org/robfree/node-clima.svg?branch=master)](https://travis-ci.org/robfree/node-clima)

var c = new clima({
format: 'json', // required
units: 'Celsius' // optional
format: 'json', // required
units: 'Celsius' // optional
});
c.currentByCityName({
cityName: 'London'
cityName: 'London'
callback: function(err, data) {
console.log(data);
console.log(data);
}
});
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