A minimal query string library in zepto. It is in alpha right now.
There are two basic routines, querystring:build
and querystring:parse
.
Using them looks somewhat like this:
(import-all "querystring")
(querystring:parse "somekey=someval&otherkey=otherval")
=> #{somekey: someval, otherkey: otherval}
(querystring:build #{video anime.mp4 referer google})
=> "video=anime.mp4&referer=google"
Have fun!