mapbox / shp-write

create and write to shapefiles in pure javascript
BSD 3-Clause "New" or "Revised" License
296 stars 189 forks source link

Promise-based `write` API? #124

Open charlieforward9 opened 4 months ago

charlieforward9 commented 4 months ago

https://github.com/mapbox/shp-write/blob/48a0fe72c09f74f6256ac8d4177af272d01317c3/src/write.js#L15-L16

While updating the README, I realized that write does not use async/await. This seems ancient. This issue tracks the upgrade of this (unless the current callback form is in fact better for some reason)