1.0.3 • Published 5 years ago
parse-querystring-dotkey v1.0.3
parse-querystring-dotkey
Installation
fibjs --install parse-querystring-dotkey
Usage
const parseQS = require('parse-querystring-dotkey')
parseQS('limit=1&offset=7&&where.user_id=2&where.session_id=9')
/**
*
* {
* "limit": "1",
* "offset": "7",
* "where": {
* "user_id": "2",
* "session_id": "9"
* },
* }
*/