zepto-lang / querystring

A minimal querystring library for zepto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

A minimal querystring library for zepto

License:GNU General Public License v2.0