google-maps-fetch 0.0.0-stage → 0.1.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.
- package/LICENSE +21 -0
- package/README.md +262 -2
- package/compat/package.json +5 -0
- package/dist/chunk-DU6WHR7R.cjs +246 -0
- package/dist/chunk-KSK2WERM.js +246 -0
- package/dist/compat.cjs +1215 -0
- package/dist/compat.d.cts +786 -0
- package/dist/compat.d.ts +786 -0
- package/dist/compat.js +1215 -0
- package/dist/index.cjs +127 -0
- package/dist/index.d.cts +108 -0
- package/dist/index.d.ts +108 -0
- package/dist/index.js +127 -0
- package/dist/types-FNou8i90.d.cts +629 -0
- package/dist/types-FNou8i90.d.ts +629 -0
- package/package.json +95 -4
package/package.json
CHANGED
|
@@ -1,6 +1,97 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "google-maps-fetch",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Small fetch-based client for Google Maps Platform web APIs (Places API (New), Routes, Geocoding, Address Validation, Elevation, Time Zone, Geolocation, Roads) that runs anywhere fetch does, with a drop-in replacement for @googlemaps/google-maps-services-js",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Ninad Sutrave",
|
|
8
|
+
"url": "https://ninadsutrave.com"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/ninadsutrave/google-maps-fetch.git"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/ninadsutrave/google-maps-fetch#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/ninadsutrave/google-maps-fetch/issues"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"google-maps",
|
|
20
|
+
"google-maps-services-js",
|
|
21
|
+
"places-api",
|
|
22
|
+
"places-api-new",
|
|
23
|
+
"routes-api",
|
|
24
|
+
"directions",
|
|
25
|
+
"distance-matrix",
|
|
26
|
+
"geocoding",
|
|
27
|
+
"address-validation",
|
|
28
|
+
"elevation",
|
|
29
|
+
"timezone",
|
|
30
|
+
"roads-api",
|
|
31
|
+
"geolocation",
|
|
32
|
+
"fetch",
|
|
33
|
+
"edge",
|
|
34
|
+
"cloudflare-workers",
|
|
35
|
+
"deno",
|
|
36
|
+
"bun"
|
|
37
|
+
],
|
|
38
|
+
"type": "module",
|
|
39
|
+
"main": "./dist/index.cjs",
|
|
40
|
+
"module": "./dist/index.js",
|
|
41
|
+
"types": "./dist/index.d.ts",
|
|
42
|
+
"exports": {
|
|
43
|
+
".": {
|
|
44
|
+
"import": {
|
|
45
|
+
"types": "./dist/index.d.ts",
|
|
46
|
+
"default": "./dist/index.js"
|
|
47
|
+
},
|
|
48
|
+
"require": {
|
|
49
|
+
"types": "./dist/index.d.cts",
|
|
50
|
+
"default": "./dist/index.cjs"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"./compat": {
|
|
54
|
+
"import": {
|
|
55
|
+
"types": "./dist/compat.d.ts",
|
|
56
|
+
"default": "./dist/compat.js"
|
|
57
|
+
},
|
|
58
|
+
"require": {
|
|
59
|
+
"types": "./dist/compat.d.cts",
|
|
60
|
+
"default": "./dist/compat.cjs"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"./package.json": "./package.json"
|
|
64
|
+
},
|
|
65
|
+
"files": [
|
|
66
|
+
"dist",
|
|
67
|
+
"compat"
|
|
68
|
+
],
|
|
69
|
+
"sideEffects": false,
|
|
70
|
+
"engines": {
|
|
71
|
+
"node": ">=20"
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"build": "tsup",
|
|
75
|
+
"typecheck": "tsc --noEmit",
|
|
76
|
+
"lint": "eslint .",
|
|
77
|
+
"test": "vitest run",
|
|
78
|
+
"test:live": "vitest run --config vitest.live.config.ts",
|
|
79
|
+
"prepublishOnly": "npm run typecheck && npm run lint && npm test && npm run build && npm run lint:package",
|
|
80
|
+
"changeset": "changeset",
|
|
81
|
+
"release": "npm run build && changeset publish",
|
|
82
|
+
"format": "prettier --write .",
|
|
83
|
+
"format:check": "prettier --check .",
|
|
84
|
+
"lint:package": "publint"
|
|
85
|
+
},
|
|
86
|
+
"devDependencies": {
|
|
87
|
+
"@changesets/cli": "^2.29.0",
|
|
88
|
+
"@eslint/js": "^10.0.1",
|
|
89
|
+
"eslint": "^10.15.0",
|
|
90
|
+
"prettier": "^3.10.1",
|
|
91
|
+
"publint": "^0.3.25",
|
|
92
|
+
"tsup": "^8.5.0",
|
|
93
|
+
"typescript": "^5.8.0",
|
|
94
|
+
"typescript-eslint": "^8.73.0",
|
|
95
|
+
"vitest": "^3.2.0"
|
|
96
|
+
}
|
|
97
|
+
}
|