Javascript Get Url Without Query String Npmjs Download