Comparing version 1.0.5 to 1.0.6
@@ -6,3 +6,3 @@ 'use strict'; | ||
class ForecastIO { | ||
class DarkSky { | ||
constructor(apiKey) { | ||
@@ -80,2 +80,2 @@ this.apiKey = apiKey; | ||
module.exports = ForecastIO | ||
module.exports = DarkSky |
{ | ||
"name": "dark-sky", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "A dead simple Dark Sky API wrapper for Nodejs using method chaining and promises.", | ||
@@ -5,0 +5,0 @@ "main": "dark-sky-api.js", |
@@ -5,3 +5,3 @@ # forecast-io | ||
### About | ||
A dead simple forecast.io API wrapper for Nodejs using method chaining and promises. | ||
A dead simple Dark Sky API wrapper for Nodejs using method chaining and promises. | ||
@@ -11,7 +11,7 @@ ### Install forecast-io | ||
```Javascript | ||
npm install forecast-io --save | ||
npm install dark-sky --save | ||
``` | ||
### API Documentation | ||
[Please refer to the forecast.io developer website.](https://developer.forecast.io/docs/v2) | ||
[Please refer to the Dark Sky developer website.](https://darksky.net/dev/docs) | ||
@@ -21,4 +21,4 @@ ### Script Example | ||
'use strict'; | ||
const ForecastIO = require('forecast-io') | ||
const forecast = new ForecastIO('<< Your API Key >>') | ||
const DarkSky = require('dark-sky') | ||
const forecast = new DarkSky('<< Your API Key >>') | ||
@@ -25,0 +25,0 @@ forecast |
4930