@mharj/openweathermap 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +7 -0
  2. package/dist/OpenWeatherV2.d.ts +108 -0
  3. package/dist/OpenWeatherV2.js +174 -0
  4. package/dist/OpenWeatherV2.js.map +1 -0
  5. package/dist/index.d.ts +4 -0
  6. package/dist/index.js +8 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/interfaces/IOpenWeatherV2.d.ts +7 -0
  9. package/dist/interfaces/IOpenWeatherV2.js +3 -0
  10. package/dist/interfaces/IOpenWeatherV2.js.map +1 -0
  11. package/dist/interfaces/index.d.ts +1 -0
  12. package/dist/interfaces/index.js +5 -0
  13. package/dist/interfaces/index.js.map +1 -0
  14. package/dist/lib/fetchUtils.d.ts +5 -0
  15. package/dist/lib/fetchUtils.js +17 -0
  16. package/dist/lib/fetchUtils.js.map +1 -0
  17. package/dist/lib/index.d.ts +1 -0
  18. package/dist/lib/index.js +5 -0
  19. package/dist/lib/index.js.map +1 -0
  20. package/dist/types/ISO3166-Countries.d.ts +7 -0
  21. package/dist/types/ISO3166-Countries.js +260 -0
  22. package/dist/types/ISO3166-Countries.js.map +1 -0
  23. package/dist/types/index.d.ts +11 -0
  24. package/dist/types/index.js +11 -0
  25. package/dist/types/index.js.map +1 -0
  26. package/dist/types/v2/Icon.d.ts +17 -0
  27. package/dist/types/v2/Icon.js +19 -0
  28. package/dist/types/v2/Icon.js.map +1 -0
  29. package/dist/types/v2/Language.d.ts +4 -0
  30. package/dist/types/v2/Language.js +53 -0
  31. package/dist/types/v2/Language.js.map +1 -0
  32. package/dist/types/v2/index.d.ts +229 -0
  33. package/dist/types/v2/index.js +80 -0
  34. package/dist/types/v2/index.js.map +1 -0
  35. package/dist/types/v2/weatherIdGroup.d.ts +262 -0
  36. package/dist/types/v2/weatherIdGroup.js +317 -0
  37. package/dist/types/v2/weatherIdGroup.js.map +1 -0
  38. package/package.json +89 -0
package/package.json ADDED
@@ -0,0 +1,89 @@
1
+ {
2
+ "name": "@mharj/openweathermap",
3
+ "version": "0.0.1",
4
+ "description": "Open Weather API Client",
5
+ "main": "./dist/index.js",
6
+ "scripts": {
7
+ "doc": "typedoc",
8
+ "build": "tsc",
9
+ "prepublishOnly": "npm run build",
10
+ "test": "nyc mocha",
11
+ "coverage": "nyc report --reporter=lcovonly",
12
+ "lint": "eslint src"
13
+ },
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "mocha": {
18
+ "exit": true,
19
+ "extension": [
20
+ "ts",
21
+ "js"
22
+ ],
23
+ "recursive": true,
24
+ "require": [
25
+ "ts-node/register",
26
+ "source-map-support/register"
27
+ ],
28
+ "reporters": [
29
+ "spec",
30
+ "mocha-junit-reporter"
31
+ ]
32
+ },
33
+ "nyc": {
34
+ "extension": [
35
+ ".ts"
36
+ ],
37
+ "include": [
38
+ "src"
39
+ ],
40
+ "reporter": [
41
+ "text",
42
+ "html"
43
+ ],
44
+ "all": true
45
+ },
46
+ "repository": {
47
+ "type": "git",
48
+ "url": "git+https://github.com/mharj/ts-openweather.git"
49
+ },
50
+ "keywords": [
51
+ "weather",
52
+ "api",
53
+ "client"
54
+ ],
55
+ "author": "mharj",
56
+ "license": "MIT",
57
+ "bugs": {
58
+ "url": "https://github.com/mharj/ts-openweather/issues"
59
+ },
60
+ "homepage": "https://github.com/mharj/ts-openweather#readme",
61
+ "dependencies": {
62
+ "@avanio/expire-cache": "^0.2.0",
63
+ "mharj-result": "^0.4.5",
64
+ "tslib": "^2.6.0",
65
+ "zod": "^3.21.4"
66
+ },
67
+ "devDependencies": {
68
+ "@types/chai": "^4.3.5",
69
+ "@types/mocha": "^10.0.1",
70
+ "@types/node": "^18.17.0",
71
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
72
+ "@typescript-eslint/parser": "^6.1.0",
73
+ "chai": "^4.3.7",
74
+ "dotenv": "^16.3.1",
75
+ "eslint": "^8.45.0",
76
+ "eslint-config-prettier": "^8.8.0",
77
+ "eslint-config-standard": "^17.1.0",
78
+ "eslint-plugin-deprecation": "^1.4.1",
79
+ "eslint-plugin-prettier": "^5.0.0",
80
+ "eslint-plugin-sonarjs": "^0.19.0",
81
+ "mocha": "^10.2.0",
82
+ "nyc": "^15.1.0",
83
+ "prettier": "^3.0.0",
84
+ "source-map-support": "^0.5.21",
85
+ "ts-node": "^10.9.1",
86
+ "typedoc": "^0.24.8",
87
+ "typedoc-plugin-zod": "^1.0.2"
88
+ }
89
+ }