File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,17 @@ ZIP file downloads in-browser.
88
99## Usage
1010
11- For node.js or [ browserify ] ( https://github.com/substack/node-browserify )
11+ For npm
1212
13- npm install --save shp-write
13+ npm install --save @mapbox/shp-write
14+
15+ Yarn
16+
17+ yarn add @mapbox/shp-write
1418
1519Or in a browser
1620
17- https://unpkg.com/shp-write@latest/shpwrite.js
21+ https://unpkg.com/@mapbox/ shp-write@latest/shpwrite.js
1822
1923## Caveats
2024
@@ -27,7 +31,7 @@ Or in a browser
2731## Minimal Example
2832
2933``` js
30- var shpwrite = require (" shp-write" );
34+ var shpwrite = require (" @mapbox/ shp-write" );
3135
3236// a GeoJSON bridge for features
3337const zipData = shpwrite .zip (
@@ -63,7 +67,7 @@ const zipData = shpwrite.zip(
6367## Options Example
6468
6569``` js
66- var shpwrite = require (" shp-write" );
70+ var shpwrite = require (" @mapbox/ shp-write" );
6771
6872const options = {
6973 folder: " my_internal_shapes_folder" ,
Original file line number Diff line number Diff line change 1- declare module "shp-write" {
1+ declare module "@mapbox/ shp-write" {
22 export enum OGCGeometry {
33 NULL ,
44 POINT ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @mapbox/shp-write" ,
3- "version" : " 0.4.1 " ,
3+ "version" : " 0.4.2 " ,
44 "description" : " write shapefiles from pure javascript" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments