mapbox / shp-write

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

Promise-based `write` API? #124

Open charlieforward9 opened 6 months ago

charlieforward9 commented 6 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)