Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "mini-owm", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Mini ES wrapper for OpenWeatherMap api", | ||
@@ -25,2 +25,3 @@ "author": "Dean Verleger", | ||
"types": "lib/index.d.ts", | ||
"sideEffects": false, | ||
"scripts": { | ||
@@ -27,0 +28,0 @@ "clean": "shx rm -rf lib libm", |
@@ -7,2 +7,6 @@ # mini-owm | ||
### Install | ||
`npm install -D 'mini-owm'` | ||
### Constructor parameters | ||
@@ -14,3 +18,3 @@ | ||
// constructor parameters are all optional | ||
const api = new OwmAPi( | ||
const api = new MiniOwm( | ||
'<your api key here>', // owm api key | ||
@@ -31,3 +35,3 @@ 33.441792, // latitude | ||
import MiniOwm from 'mini-owm'; | ||
const api = new OwmAPi(); | ||
const api = new MiniOwm(); | ||
api | ||
@@ -48,3 +52,3 @@ .apiKey('<your api key here>') | ||
import MiniOwm from 'mini-owm'; | ||
new OwmAPi() | ||
new MiniOwm() | ||
.get({ | ||
@@ -65,6 +69,6 @@ apiKey: '<your api key here>', | ||
- Notes: and compiled to UMD via and ESNEXT | ||
- MiniOwm is written in TypeScript | ||
- Notes: | ||
- Written in TypeScript | ||
- Compiled to UMD via WebPack | ||
- Compiled to ESNext via TSC (will use WebPack when supported) | ||
- Compiled to ES6 via TSC | ||
- Typings generated by TSC | ||
@@ -71,0 +75,0 @@ - Setup: `pnpm install` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82
18969