JSFiddle - React, Tailwind, and code Playground

by rpflorence

JavaScript

var str = "http://www.example.com/?foo=one&bar=two";
var uri = new URI(str);
console.log(uri.getData('foo'), uri.getData('bar'));