k-yle / osm-api-js

🗺️🌏 Javascript/Typescript wrapper around the OpenStreetMap API
https://npm.im/osm-api
MIT License
13 stars 2 forks source link

What is the difference between this and osm-request #11

Open RayBB opened 1 week ago

RayBB commented 1 week ago

Hello,

What's the difference between this library and osm-request? It would be nice to add a note about this in the readme :)

Thanks for your work!

Edit: after trying to use osm-request and then trying to use this I see that this is quite a bit more simple and maybe easier to use :)

k-yle commented 1 week ago

Hey, when I created this library, osm-request was abandoned and had not been updated in several years. It also did not support OAuth 2, making it effectively unusable. Since then, it seems like that library has been revived.

Right now, the main benefits are:

It's a bit unfortunate that there are 2 libraries for the same thing... I agree that we should add this info to the README

RayBB commented 1 week ago

@k-yle thanks for replying. After trying both libraries yours is certainly MUCH simpler and the typescript is a really welcome feature too :)