Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 457 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 457 Bytes

querystring

A minimal query string library in zepto. It is in alpha right now.

Usage

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!