geopreview 1.0.0 → 1.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.
- package/README.md +5 -5
- package/dist/cli.js +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ Requires Node.js v18+.
|
|
|
35
35
|
## Usage
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
|
|
38
|
+
geopreview <file>
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
### Options
|
|
@@ -50,10 +50,10 @@ gp <file>
|
|
|
50
50
|
### Examples
|
|
51
51
|
|
|
52
52
|
```bash
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
geopreview world.geojson
|
|
54
|
+
geopreview countries.fgb --no-map
|
|
55
|
+
geopreview buildings.parquet --props 30
|
|
56
|
+
geopreview routes.geojson -w 100 -h 30
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
### Keyboard
|
package/dist/cli.js
CHANGED
|
@@ -17,7 +17,7 @@ import App from "./App.js";
|
|
|
17
17
|
import { getParser } from "./lib/registry.js";
|
|
18
18
|
const cli = meow(`
|
|
19
19
|
Usage
|
|
20
|
-
$
|
|
20
|
+
$ geopreview <file>
|
|
21
21
|
|
|
22
22
|
Options
|
|
23
23
|
--no-map Hide map preview
|
|
@@ -26,8 +26,8 @@ const cli = meow(`
|
|
|
26
26
|
--props, -p Property display limit Default: 15
|
|
27
27
|
|
|
28
28
|
Examples
|
|
29
|
-
$
|
|
30
|
-
$
|
|
29
|
+
$ geopreview world.geojson
|
|
30
|
+
$ geopreview ports.geojson --no-map --props 30
|
|
31
31
|
`, {
|
|
32
32
|
importMeta: import.meta,
|
|
33
33
|
flags: {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "geopreview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Terminal preview for geospatial files (GeoJSON, FlatGeobuf, GeoParquet)",
|
|
5
5
|
"main": "dist/cli.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"
|
|
7
|
+
"geopreview": "dist/cli.js"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "tsc",
|