medialize / URI.js

Javascript URL mutation library
http://medialize.github.io/URI.js/
MIT License
6.26k stars 476 forks source link

Support for handling search as ES6 Map instead of Object properties #394

Open riconnon opened 4 years ago

riconnon commented 4 years ago

For my application I'm having to convert betweeen ES6 Map (https://tc39.es/ecma262/#sec-map-objects) and Object in order to pass in and out of .search() in URI.js It would be beneficial if there was a way to get/set the search string in a URI using Map rather than Object