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

mini-owm

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-owm - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

package.json
{
"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`

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