JSPM

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

query-string

Package Exports

  • kit-qs

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 (kit-qs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

kit-qs

Circle CI

  • 支持获取完整的 url 参数,拿参数
  • 支持输出标准的 url 格式,用于分享

存在这样不规整的URL,其query参数需要特殊处理

https://m.iqianggou.com/?from=singlemessage&isappinstalled=0#bargain?id=646156&platform=5

使用

import qs from 'kit-qs'

const url = 'https://m.iqianggou.com/?from=singlemessage&isappinstalled=0#bargain?id=646156&platform=5'

const query = qs.parse(url)