Re: banana-rdf libs for scala-js

Hi Henry,

>  I want to make a port of banana-rdf's plantain implementation ( pure scala ) [1]  to scala-js [1].

Great news!

> What is the best JS URL class that can do relative URL
> resolution, normalise urls etc for use in the browser?

I recently saw https://github.com/Acubed/node-iri pass by on this list;
however, I think that Node's url module does what you need:
http://nodejs.org/api/url.html.

Since you are looking for browser solutions,
you might want to look at the browserified version of these libraries.
(https://github.com/substack/node-browserify)
In particular, the code for Node's module is here:
https://github.com/joyent/node/blob/master/lib/url.js

Best,

Ruben

Received on Monday, 30 June 2014 09:28:01 UTC