Npm parse-address

I’m looking for a way to parse the address that is returned to me by my server so that I can get directions with Apple Maps. With Google Maps it was easy, because Google allows me to do a search on the address, whereas Apple wants a much more structured url. I tried downloading npm parse-address , but I can’t seem to get it working. I already installed requirejs, but I’m still not having any luck. Has anyone else had success using npm parse-address?

Are you sure parse-address can be used in a browser/web view?

As far as I know it can be. I mean, the npm website gives a different set of instructions for browsers and servers.