npm

Need private packages and team management tools?Check out npm Orgs. »

kit-qs

1.1.1 • Public • Published

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)

install

npm i kit-qs

Downloadsweekly downloads

2

version

1.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability