{"_id":"@aleffabricio/shp-write","_rev":"4-08c5a7e68f9cbb39782e88077e3ec307","name":"@aleffabricio/shp-write","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@aleffabricio/shp-write","version":"1.0.0","description":"write shapefiles from pure javascript, this repository corrects the error that unified all polygons as multipolygons","main":"index.js","directories":{"example":"example","test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/aleffabricio/shp-write.git"},"keywords":["shapefile","write","js","export"],"author":{"name":"Tom MacWright"},"contributors":[{"name":"Nick Baugh","email":"niftylettuce@gmail.com"},{"name":"José María Martínez Luna","email":"jose@geowe.org"},{"name":"Alef Fabricio","email":"alef.fcg@gmail.com"}],"license":"BSD-2-Clause","bugs":{"url":"https://github.com/aleffabricio/shp-write/issues"},"dependencies":{"jszip":"2.5.0","smg-dbf":"0.1.5"},"devDependencies":{"browserify":"^13.0.0","cz-conventional-changelog":"^1.2.0","expect.js":"~0.3.1","mocha":"~2.4.5"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"homepage":"https://github.com/aleffabricio/shp-write#readme","gitHead":"a3458b1efb50e5e0e7d86b13c7042d53be8aaec9","_id":"@aleffabricio/shp-write@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-1JqtSyVFpol/ikL3lSAs6gHzoauvywExWEBKR1FCMuaChyNBQKf8YkLJ+S2c+vmDoPK9vPgh5qz4wr34XZwa1w==","shasum":"f593f7d02be824a7f7b02747a1d7bc311a2691ed","tarball":"https://registry.npmjs.org/@aleffabricio/shp-write/-/shp-write-1.0.0.tgz","fileCount":15,"unpackedSize":20670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZnOkCRA9TVsSAnZWagAAWkwP/0Bb1+orxK4JVmsp79CT\nYsQpk+Dzkij1WCR2oJbHwPmaSaqhu587sBVXArKHfbq56uzJubaf/KV+ZTt0\nYcBNO3f9DHP21b/s8J99okeHdhV4Hd8NrMZAvFBq4iH0HUROYSxfFETaaqGN\nCoEf7rZVIyQM1sw8lxHN5UCmFG3ypq2NW0GQZsvVl5/TKMqjRmIde6xFXeXW\nrS+v7/xe94Hj02q2Z0ssu50GW9hwnxSUBbBHhdzDscnyy9GwBsCvWOgNBVpl\nVBTN5CywPFYof1GVWSYXZU4G1gf/8Dl/Jov7FaYWasYB4NyIImtShaSSZdxp\nVF5KgUIlyHGbBGsE6oPcDp5juryYkKZtK/qzZ6fP6XcGkzGbnUcvfI1gk3eP\ndbm7R8/ZodSqAl6iCkC2PUn9RjXAhe31UVD1sasGlKo76De96zkwTUtt8fRu\nTUzskwgZ0IZVmozw4shCtOQqM4ikZnUvAjCbLzu6GQw9D8OSF4ZaUqx381Kh\nsJqfOp96UwrBfwheD/NgZdQ4iYT/j4kCRXMJA5rbd13B5CWvOgW/T/Xyph5H\nHMG+yNtdfMJEQ9tHCO4bm31ZmCTZO6h7bvS/sLUJdPhiGD56yCE2/qPX+wBe\nJdMoWnD6VwCIGIxSKjR+MQsYkmNtNgrz8nhPRcgIuAj3lnSmMnc2MqEESScX\nVl+N\r\n=SBH2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe2IDegD8CqTlHOz2TA5YV8RMI59nSMDd+7935U1WFPwIgWM9mp3p0VYLQD91NnJSzFZ5dfDYX+pt+Mos0AuSb0dM="}]},"maintainers":[{"name":"aleffabricio","email":"alef.fcg@gmail.com"}],"_npmUser":{"name":"aleffabricio","email":"alef.fcg@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shp-write_1.0.0_1566995363431_0.1774461268455676"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aleffabricio/shp-write","version":"1.0.1","description":"write shapefiles from pure javascript, this repository corrects the error that unified all polygons as multipolygons","main":"index.js","directories":{"example":"example","test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/aleffabricio/shp-write.git"},"keywords":["shapefile","write","js","export"],"author":{"name":"Tom MacWright"},"contributors":[{"name":"Nick Baugh","email":"niftylettuce@gmail.com"},{"name":"José María Martínez Luna","email":"jose@geowe.org"},{"name":"Alef Fabricio","email":"alef.fcg@gmail.com"}],"license":"BSD-2-Clause","bugs":{"url":"https://github.com/aleffabricio/shp-write/issues"},"dependencies":{"jszip":"2.5.0","smg-dbf":"0.1.5"},"devDependencies":{"browserify":"^13.0.0","cz-conventional-changelog":"^1.2.0","expect.js":"~0.3.1","mocha":"~2.4.5"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"homepage":"https://github.com/aleffabricio/shp-write#readme","gitHead":"66b54a109f481fcb54f4b562c0b189d90af7661e","_id":"@aleffabricio/shp-write@1.0.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-xDDUyYIf2wsj+cL0myikt06SM4Umm5Cqg/SOIUY5+3SODBb65KaeBzofvqMI8haMt/ptM2UmEFG00O56MsVYfg==","shasum":"8807abf30c8166d95d192a05dba298dffd0d224a","tarball":"https://registry.npmjs.org/@aleffabricio/shp-write/-/shp-write-1.0.1.tgz","fileCount":15,"unpackedSize":20997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZo6NCRA9TVsSAnZWagAAt3YQAIbueYTr3CGK6PabNMg3\nQ6OPOL1U9bzC8eTiUkqv/H48vAVfw+OS+E6jytGv6z1wmEW7e6vRYnhoY4qO\nqhBGebAA8x56qsyeNi81EXmIGJgwHzvK5ejFGD8RLdwIO3c6h/foNQtLG2jG\nymcfVgER17ydpgjxnOWL6PmBwmFeKSaUrMaD3LK/5i6VPJZ0T0/CornUpGtU\n85FpEjBbhWT4RmMtMTN9Q5WVJe/Qam6MB/Ug9pq70RlBeLUejKY2KBU1AvC9\n5pNGVNRczZ7P1HdEbHXSHtkMNx7v5Y3WPXatmH9bKEbuXjMJM8L5DbVQn3ig\nDmbEMDACaLFUT1EyGLPi4DManphZqpP3qxi9cuFwRa/EWOV32RRrLwkppVBY\nPwDfD8Icysrok5UbkOS4p5RkNrk1OSVC+IqeIWhiHTK/zip3I+DS1jsbV1Tl\n/MTL0sNE3MTqMx4BKPUj61IsSMOJzjWRt1gK5tqF+Np6nVuKX03HZWwKuMfd\nnKjaVaNum2fLHgDuJ+xWjQ2bfZFQxkS4yhJuF4wI9CMSmbigkGU/qkGTkZTM\nbzrwlx1zc1TNxuzdmLl4NOqdQSgqsUEBD6JkyOiIrkKfYyWwpLwWHHvtwjOn\ngwxHNutFF8tt/WfHK24M06XkjH0TFz+qVtp5iDi39R982vvOx2vJs1Ti7tAg\n788Y\r\n=pr5I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIERNOsCKiAOHUrEaLqKoNMcXtFtWbO1GN2/xBi03w5W7AiAs0I5+BtrMGBHFg4IhsvaFMaUs5KO4V0ZU0uStUHObQg=="}]},"maintainers":[{"name":"aleffabricio","email":"alef.fcg@gmail.com"}],"_npmUser":{"name":"aleffabricio","email":"alef.fcg@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shp-write_1.0.1_1567002252759_0.21853014119829162"},"_hasShrinkwrap":false},"1.0.2":{"name":"@aleffabricio/shp-write","version":"1.0.2","description":"write shapefiles from pure javascript, this repository corrects the error that unified all polygons as multipolygons","main":"index.js","directories":{"example":"example","test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/aleffabricio/shp-write.git"},"keywords":["shapefile","write","js","export"],"author":{"name":"Tom MacWright"},"contributors":[{"name":"Nick Baugh","email":"niftylettuce@gmail.com"},{"name":"José María Martínez Luna","email":"jose@geowe.org"},{"name":"Alef Fabricio","email":"alef.fcg@gmail.com"}],"license":"BSD-2-Clause","bugs":{"url":"https://github.com/aleffabricio/shp-write/issues"},"dependencies":{"jszip":"2.5.0","smg-dbf":"0.1.5"},"devDependencies":{"browserify":"^13.0.0","cz-conventional-changelog":"^1.2.0","expect.js":"~0.3.1","mocha":"~2.4.5"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"homepage":"https://github.com/aleffabricio/shp-write#readme","gitHead":"7aebbeb3c2b2544115f6a5f54ba2822d3e6e90b1","_id":"@aleffabricio/shp-write@1.0.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-n9Ln2b2ZAQNtyCTfKp0njUTxjYcuQRg8f0NK8cKH7AW21jmH4wGs7UzsAGTopO5mKfEwkWR5cFs1QId4SVoR4A==","shasum":"28f5f01f64b005ccb3ae4d19ba36187dc1b37382","tarball":"https://registry.npmjs.org/@aleffabricio/shp-write/-/shp-write-1.0.2.tgz","fileCount":15,"unpackedSize":21001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZrd/CRA9TVsSAnZWagAASawP/j6reawec+s6wOo+dtni\nxAu/+YisXnEdayuOyRElZIi2FQ+FvYXSrNf/LoL76o2Ju0KQTpnFUc8H8uBC\nHnWvNbJfC/XBNduDXw3Agu/T/xd6z9abA4eEWJpn7NIcYfvn8hWtIX5rVVlW\nZkG0+F6BbRrqbMdv5/kxdmDbKFgY/dcYENrbkBT65gvXwhY6OYCTCtw5cuZM\n3PfxLwT2QxP32kkFMH+kTB5G5UNZsKO8IbIkF5VxsTARitBGCj0ldcSJljwF\nb+Y5W4cEIZEKPRY7OxYyjEWpoabgU8MpiRSb3uSgzlLv1fYuHb0C08kS5Znt\nuxPn1GQyRknBL1KbVJstkql0dRJhazKekN8Ge0B5ke6O2oTIxRHgr7IaNZQe\n5UWgQGA6QV0CaKTygV3oXKDPw8mXWnqhg503Un/MaGlsd/Cgp+6mAupt7vjt\n7vRpvU8hTABPDHvoJITBTziDnBOtTB/1d3fRA9L3XnD6cr7iLE57QSX9ykvW\n6iMva83bY0LVJ0zWNSOcdLSss6GD9Lg8eIrk7dbKSs4ITpjH3ZYfA/0jYJCW\nuQuHVuFUAc2yMFDFQxG8spc820Wik1+EgId81Pzyy2eGSNBlyY0vVTgA/XcH\n9VXNjYkZykNS5Y9srdlT4Sa1yfYzboQbfib0pBXnPhChf39E5iGBBfSC2VxD\nZPIA\r\n=0GXv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRAyMeO9cP5as5tUxHiR+ZnaxkiR0lEb2KQ5CsNDIpPAIhAIddfdKcYHpgzDAWWpeZc9od8yVfTQh2L+nKBx+ZfB/x"}]},"maintainers":[{"name":"aleffabricio","email":"alef.fcg@gmail.com"}],"_npmUser":{"name":"aleffabricio","email":"alef.fcg@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shp-write_1.0.2_1567012734413_0.4466546345616531"},"_hasShrinkwrap":false},"1.0.3":{"name":"@aleffabricio/shp-write","version":"1.0.3","description":"write shapefiles from pure javascript, this repository corrects the error that unified all polygons as multipolygons","main":"index.js","directories":{"example":"example","test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/aleffabricio/shp-write.git"},"keywords":["shapefile","write","js","export"],"author":{"name":"Tom MacWright"},"contributors":[{"name":"Nick Baugh","email":"niftylettuce@gmail.com"},{"name":"José María Martínez Luna","email":"jose@geowe.org"},{"name":"Alef Fabricio","email":"alef.fcg@gmail.com"}],"license":"BSD-2-Clause","bugs":{"url":"https://github.com/aleffabricio/shp-write/issues"},"dependencies":{"jszip":"2.5.0","smg-dbf":"0.1.5"},"devDependencies":{"browserify":"^13.0.0","cz-conventional-changelog":"^1.2.0","expect.js":"~0.3.1","mocha":"~2.4.5"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"homepage":"https://github.com/aleffabricio/shp-write#readme","gitHead":"7aebbeb3c2b2544115f6a5f54ba2822d3e6e90b1","_id":"@aleffabricio/shp-write@1.0.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-DsjAYqhtW/60YClIsn7hVgrNvGJFMg234PbsbGZr15WlKG7pbhWTMbIr5ESedhrUkRD5/Lt+/pkEdSQMJZkoOg==","shasum":"61d30be808adfa4072c6b12e402162420af117c6","tarball":"https://registry.npmjs.org/@aleffabricio/shp-write/-/shp-write-1.0.3.tgz","fileCount":15,"unpackedSize":21029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZrj1CRA9TVsSAnZWagAAzdQP/jikrRQCzB2Z3VcVl5jV\nDQ+tF0ZJjkBcE2RotbjXavFuGtW0G1M8ZdLApAip7BTP+M84dQYi+DTsFKQ9\nMeEIh4EvkzaoAuSutSFy0PLCn/6qj2Ot6CpULTl608BjsmgbvyyufWHTbDae\nkpjQoYKtsXW46L9lRHHUyyFds6aF+dLvDawKr8q0Nma5eOdy6EVXW5zsWF4b\nDnCDoh8N/MU3lxQS2ZAxsm2lIYJVfhOp/51ZLkHbv79sfl5Js89cCKAT++9+\nCRWkZCpUQU3KdlmOCwe7sOSKR0caPZgACXdcmUBhi/I4xLoKmHCzPiZXn/ta\njVk+Qz13CwAnXWRPjzt1lt3nKSGZ1PMhGPggUtMCx9TbxuEZpLupD9xZWOmS\nhMYCJuUwhFDVsmtXQfac7rO2OIWHeMQwCYkrwQkdh+Dxa4k437EEuCU4izN6\nX6QY7vP1ir0RgsrWDXljoiJkCTOQY6yMWSpakks3cHrNuhppwozyvYT/EB0Z\nnfOTh7/jreTgI4akiUe3VkBnGF5kezvhOFBTjlT6iUM8xvCSZBMRqJ89TQJa\n+7mq5mLv/ZdLFX1FsBohXI50vcdDeeeuGzcIVAx/FAOEtaY4ITNRodr6snUI\nVkxOTwIoe2Kdb+BqpnajeIyz4e4ylWHnKgna+oHsnQm8ZQW8STH/k9M+vL2U\njQnC\r\n=EmNL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA6UzAJ1bk4Wa1unMcxx+6kdTaFSLYbARtsLrb5+3TaDAiEA6eZN9zRNhOA3akxUy+alsgqcHXwnqQc0r9K9mBIwzWw="}]},"maintainers":[{"name":"aleffabricio","email":"alef.fcg@gmail.com"}],"_npmUser":{"name":"aleffabricio","email":"alef.fcg@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/shp-write_1.0.3_1567013109083_0.9791469579999716"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-28T12:29:23.218Z","1.0.0":"2019-08-28T12:29:23.524Z","modified":"2022-04-04T12:37:02.003Z","1.0.1":"2019-08-28T14:24:12.856Z","1.0.2":"2019-08-28T17:18:54.545Z","1.0.3":"2019-08-28T17:25:09.234Z"},"maintainers":[{"name":"aleffabricio","email":"alef.fcg@gmail.com"}],"description":"write shapefiles from pure javascript, this repository corrects the error that unified all polygons as multipolygons","homepage":"https://github.com/aleffabricio/shp-write#readme","keywords":["shapefile","write","js","export"],"repository":{"type":"git","url":"git+https://github.com/aleffabricio/shp-write.git"},"contributors":[{"name":"Nick Baugh","email":"niftylettuce@gmail.com"},{"name":"José María Martínez Luna","email":"jose@geowe.org"},{"name":"Alef Fabricio","email":"alef.fcg@gmail.com"}],"author":{"name":"Tom MacWright"},"bugs":{"url":"https://github.com/aleffabricio/shp-write/issues"},"license":"BSD-2-Clause","readme":"[![Build Status](https://secure.travis-ci.org/mapbox/shp-write.svg?branch=master)](http://travis-ci.org/mapbox/shp-write)\n\n# shp-write\n\nWrites shapefile in pure javascript. Uses [dbf](https://github.com/tmcw/dbf)\nfor the data component, and [jsZIP](http://stuk.github.io/jszip/) to generate\nZIP file downloads in-browser.\n\n## Usage\n\nFor node.js or [browserify](https://github.com/substack/node-browserify)\n\n    npm i @aleffabricio/shp-write\n\nOr in a browser\n\n    https://unpkg.com/shp-write@latest/shpwrite.js\n\n## Caveats\n\n* Requires a capable fancy modern browser with [Typed Arrays](http://caniuse.com/#feat=typedarrays)\n  support\n* Geometries: Point, LineString, Polygon, MultiLineString, MultiPolygon\n* Tabular-style properties export with Shapefile's field name length limit\n* Uses jsZip for ZIP files, but [compression is buggy](https://github.com/Stuk/jszip/issues/53) so it uses STORE instead of DEFLATE.\n\n## Polygon example\n\n![Screenshot](https://github.com/jmmluna/shp-writer/blob/master/download.png)\n```js\nvar shpwrite = require('@aleffabricio/shp-write');\n\nvar options = {\n        folder: \"my-shapefile\",\n        types: {\n            point: \"points\",\n            polygon: \"polygons\",\n            line: \"lines\"\n        }\n    }\n\n// Projection: WGS84\n\nvar geojson = {\n  \"type\": \"FeatureCollection\",\n  \"features\": [\n    {\n      \"type\": \"Feature\",\n      \"properties\": {\n       \n      },\n      \"geometry\": {\n        \"type\": \"Polygon\",\n        \"coordinates\": [\n          [\n            [\n              -5.467621768044272,\n              36.64743275993502\n            ],\n            [\n              -5.467616023377893,\n              36.64725262371037\n            ],\n            [\n              -5.467727794596266,\n              36.647250311416094\n            ],\n            [\n              -5.4677335449678175,\n              36.64743044300626\n            ],\n            [\n              -5.467621768044272,\n              36.64743275993502\n            ]\n          ]\n        ]\n      }\n    },\n    {\n      \"type\": \"Feature\",\n      \"properties\": {\n       \n      },\n      \"geometry\": {\n        \"type\": \"Polygon\",\n        \"coordinates\": [\n          [\n            [\n              -5.468579574838962,\n              36.64614919750399\n            ],\n            [\n              -5.468677755266358,\n              36.64598024036407\n            ],\n            [\n              -5.468701623050998,\n              36.64580090235523\n            ],\n            [\n              -5.468830896750093,\n              36.64567899650186\n            ],\n            [\n              -5.468975712398754,\n              36.64558061087395\n            ],\n            [\n              -5.469122814442818,\n              36.64555371740699\n            ],\n            [\n              -5.469162767231621,\n              36.645614168657936\n            ],\n            [\n              -5.46917602392241,\n              36.645613117730576\n            ],\n            [\n              -5.4691850012488645,\n              36.6456478100721\n            ],\n            [\n              -5.46924794829598,\n              36.645765734116225\n            ],\n            [\n              -5.4692817042946,\n              36.645896186275486\n            ],\n            [\n              -5.469010322149157,\n              36.646106416589326\n            ],\n            [\n              -5.468930830984821,\n              36.64609508166739\n            ],\n            [\n              -5.468903730321685,\n              36.646106711088834\n            ],\n            [\n              -5.468579574838962,\n              36.64614919750399\n            ]\n          ]\n        ]\n      }\n    }\n  ]\n};\n\nshpwrite.download(geojson, options);\n\n```\n## Point example\n\n```js\nvar shpwrite = require('@aleffabricio/shp-write');\n\n// (optional) set names for feature types and zipped folder\nvar options = {\n    folder: 'myshapes',\n    types: {\n        point: 'mypoints',\n        polygon: 'mypolygons',\n        line: 'mylines'\n    }\n}\n// a GeoJSON bridge for features\nshpwrite.download({\n    type: 'FeatureCollection',\n    features: [\n        {\n            type: 'Feature',\n            geometry: {\n                type: 'Point',\n                coordinates: [0, 0]\n            },\n            properties: {\n                name: 'Foo'\n            }\n        },\n        {\n            type: 'Feature',\n            geometry: {\n                type: 'Point',\n                coordinates: [0, 10]\n            },\n            properties: {\n                name: 'Bar'\n            }\n        }\n    ]\n}, options);\n// triggers a download of a zip file with shapefiles contained within.\n```\n\n## API\n\n### `download(geojson)`\n\nGiven a [GeoJSON](http://geojson.org/) FeatureCollection as an object,\nconverts convertible features into Shapefiles and triggers a download.\n\n### `write(data, geometrytype, geometries, callback)`\n\nGiven data, an array of objects for each row of data, geometry, the OGC standard\ngeometry type (like `POINT`), geometries, a list of geometries as bare coordinate\narrays, generate a shapfile and call the callback with `err` and an object with\n\n```js\n{\n    shp: DataView(),\n    shx: DataView(),\n    dbf: DataView()\n}\n```\n\n### `zip(geojson)`\n\nGenerate a ArrayBuffer of a zipped shapefile, dbf, and prj, from a GeoJSON\nobject.\n\n## Other Implementations\n\n* https://code.google.com/p/pyshp/\n\n## Reference\n\n* http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf\n\n## Notes\n\n* This project solves the bug that occurred when exporting a featureCollection with more than one polygon. He turned polygons into multipoligons.\nBecause the project is not maintained by its creator I built a npm library based on the [@jmmluna](https://github.com/mapbox/shp-write/pull/75#issue-293630093)  project\n\n## Contributors\n\n* Nick Baugh <niftylettuce@gmail.com>\n","readmeFilename":"README.md"}