Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bloglovin/qmark
A blazing fast query string parser
https://github.com/bloglovin/qmark
Last synced: 12 days ago
JSON representation
A blazing fast query string parser
- Host: GitHub
- URL: https://github.com/bloglovin/qmark
- Owner: bloglovin
- Created: 2013-05-06T22:04:26.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-11T02:11:35.000Z (over 11 years ago)
- Last Synced: 2024-08-08T18:05:50.154Z (3 months ago)
- Language: JavaScript
- Size: 139 KB
- Stars: 1
- Watchers: 42
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-blazingly-fast - qmark - A blazing fast query string parser (JavaScript)
README
# qmark
A blazing fast query string parser.
## API
### With Ender ...
```javascript
// Assume the url is bloglovin.com?name=FashionSquad&id=123
$.qmark('name') // FashionSquad
$.queryParam('id') // 123```
### Or on its own ...
```javascript
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.