parse-querystring-dotkey
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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"
 *  },
 * }
 */

Readme

Keywords

none

Package Sidebar

Install

npm i parse-querystring-dotkey

Weekly Downloads

38

Version

1.0.3

License

ISC

Unpacked Size

9.17 kB

Total Files

6

Last publish

Collaborators

  • richardo2016