osm-request
osm-request copied to clipboard
API is not clear
The API as described in the docs could use some clarity.
Some methods (removeTrailingSlashes
, simpleObjectDeepClone
,...) are clearly utils and could be stored under utils
.
"Request" methods (not the OsmRequest instance) are not coherent.
The write methods require an instance of osm-auth
, but no endpoint is required (unlike fetch methods). How do you then point to the osm dev instance with write method ?
Maybe clarify the docs ?