JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3468
  • Score
    100M100P100Q118947F
  • License MIT

A small library for parsing and serialisation query strings

Package Exports

  • picoquery
  • picoquery/lib/main.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (picoquery) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

picoquery

A lightweight query string parser/stringifier with support for nesting and some configurability.

Built on top of fast-querystring.

Install

npm i -S picoquery

Usage

Parsing a query string:

import {parse} from 'picoquery';

parse('foo.bar=abc&baz=def');

/*
  {
    foo: {
      bar: 'abc'
    },
    baz: 'def'
  }
*/

License

MIT