A blazing fast query string parser
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
make
src
tests
.gitignore
.jshintrc
Makefile
README.md
package.json
qmark.js
qmark.min.js

README.md

qmark

A blazing fast query string parser.

API

With Ender ...

  // Assume the url is bloglovin.com?name=FashionSquad&id=123
  $.qmark('name') // FashionSquad
  $.queryParam('id') // 123

Or on its own ...

  qmark('name') // FashionSquad
  qmark('id') // 123

Tests

You can see tests by running make test and navigating to http://localhost:8080/tests/tests.html in your browser.