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.1 to 1.0.2

lib/coords.d.ts

38

package.json
{
"name": "mini-owm",
"version": "1.0.1",
"version": "1.0.2",
"description": "Mini ES wrapper for OpenWeatherMap api",
"main": "dist/MiniOwm.js",
"scripts": {
"clean": "shx rm -rf dist",
"prebuild": "npm run clean",
"build": "cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"build:dev": "webpack --config ./webpack.config.js --progress --colors --watch",
"prepublish": "npm run build",
"serve": "http-server ./dist -o",
"start": "npm run clean && npm-run-all --parallel build:dev serve",
"test": "echo \"Error: no test specified\" && exit 1"
"author": "Dean Verleger",
"license": "ISC",
"homepage": "https://github.com/deanbot/mini-owm#readme",
"bugs": {
"url": "https://github.com/deanbot/mini-owm/issues"
},

@@ -27,8 +22,19 @@ "repository": {

],
"author": "Dean Verleger",
"license": "ISC",
"bugs": {
"url": "https://github.com/deanbot/mini-owm/issues"
"main": "lib/index.js",
"module": "libm/index.js",
"types": "lib/index.d.ts",
"scripts": {
"clean": "shx rm -rf lib libm",
"prebuild": "npm run clean",
"build": "npm run build:umd && npm run build:esnext && npm run build:ts-defs",
"build:umd": "cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"build:esnext": "tsc -p tsconfig.esnext.json",
"build:ts-defs": "tsc --declaration --emitDeclarationOnly",
"build:dev": "webpack --config ./webpack.config.js",
"build:dev-watch": "webpack --config ./webpack.config.js --progress --colors --watch",
"prepublish": "npm run build",
"serve": "http-server ./lib -o",
"start": "npm run clean && npm run build:dev && npm-run-all --parallel build:dev-watch serve",
"test": "echo \"Error: no test specified\" && exit 1"
},
"homepage": "https://github.com/deanbot/mini-owm#readme",
"devDependencies": {

@@ -35,0 +41,0 @@ "@babel/core": "^7.9.6",

# mini-owm
Mini-OpenWeatherMap is a light-weight wrapper around Open Weather Map's [One Call Api](https://openweathermap.org/api/one-call-api).
Mini-OpenWeatherMap is a wrapper around Open Weather Map's [One Call Api](https://openweathermap.org/api/one-call-api).

@@ -10,3 +10,3 @@ MiniOwm is simple but versatile. Use it in any of the following ways or mix and match.

```js
const OwmApi = import('mini-owm');
import MiniOwm from 'mini-owm';

@@ -29,3 +29,3 @@ // constructor parameters are all optional

```js
const OwmApi = import('mini-owm');
import MiniOwm from 'mini-owm';
const api = new OwmAPi();

@@ -46,3 +46,3 @@ api

```js
const OwmApi = import('mini-owm');
import MiniOwm from 'mini-owm';
new OwmAPi()

@@ -64,3 +64,7 @@ .get({

- Note: MiniOwm is written in TypeScript
- Notes: and compiled to UMD via and ESNEXT
- MiniOwm is written in TypeScript
- Compiled to UMD via WebPack
- Compiled to ESNext via TSC (will use WebPack when supported)
- Typings generated by TSC
- Setup: `pnpm install`

@@ -67,0 +71,0 @@ - Configure: create `.env` with contents: `API_KEY=<your api key here>`

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