A library that provides the same algorithm used in https://where39.com/ to translate latlng coordinates into BIP39 seed words and vice-versa.
API
.toWords(lat, lng) -> Array[5]
.fromWords(Array[5]) -> {lat, lng}
How to build
npm install
npm run build
That will produce where39.umd.js
which can be included on any webpage.