parcelgps 1.0.0
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 +22 -0
- package/index.d.mts +2 -0
- package/index.d.ts +2 -0
- package/index.js +3 -0
- package/index.mjs +2 -0
- package/package.json +28 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 TheHiddenPanda
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# parcelgps
|
|
2
|
+
|
|
3
|
+
Official JavaScript/TypeScript client for the [Parcel GPS API](https://www.parcelgps.com/developers): cadastral parcels in 29 European countries plus the Basque Country and Navarre, with one API key.
|
|
4
|
+
|
|
5
|
+
This package is the same client as [`catastrogps`](https://www.npmjs.com/package/catastrogps), published under the Parcel GPS name. Both work the same way.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install parcelgps
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
import { ParcelGPS } from 'parcelgps';
|
|
13
|
+
|
|
14
|
+
const client = new ParcelGPS({ apiKey: process.env.CATASTROGPS_API_KEY });
|
|
15
|
+
const parcel = await client.parcels.get('9872023VH5797S0001WX');
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Free tier: 250 calls a month, forever. Failed lookups are not charged. Get a key at [parcelgps.com/developers](https://www.parcelgps.com/developers).
|
|
19
|
+
|
|
20
|
+
Full reference: see the [`catastrogps` README](https://www.npmjs.com/package/catastrogps).
|
|
21
|
+
|
|
22
|
+
MIT License.
|
package/index.d.mts
ADDED
package/index.d.ts
ADDED
package/index.js
ADDED
package/index.mjs
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "parcelgps",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Parcel GPS: cadastral parcels in 31 European countries and regions by reference, coordinates or Spanish address (official client, same as catastrogps)",
|
|
5
|
+
"main": "./index.js",
|
|
6
|
+
"module": "./index.mjs",
|
|
7
|
+
"types": "./index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": { "types": "./index.d.mts", "default": "./index.mjs" },
|
|
11
|
+
"require": { "types": "./index.d.ts", "default": "./index.js" }
|
|
12
|
+
},
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"files": ["index.js", "index.mjs", "index.d.ts", "index.d.mts", "README.md", "LICENSE"],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"scripts": {
|
|
18
|
+
"test": "node --test test/alias.test.mjs"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"catastrogps": "^1.0.0"
|
|
22
|
+
},
|
|
23
|
+
"keywords": ["cadastre", "cadastral", "parcel", "parcel-api", "land-registry", "gis", "geojson", "europe", "real-estate", "sdk"],
|
|
24
|
+
"author": "The Hidden Panda <soporte@catastrogps.es>",
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"homepage": "https://www.parcelgps.com/developers",
|
|
27
|
+
"engines": { "node": ">=18" }
|
|
28
|
+
}
|