Socket
Socket
Sign inDemoInstall

zhoudashuaibi-qs

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    zhoudashuaibi-qs

仿qs封装的GET参数去问号JS对象相互转换


Version published
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

下载

npm i zhoudashuaibi-qs -D

使用

const qs = require('zhoudashuaibi-qs')

/**
*get参数格式转换成为对象
* @param {string} params get方法地址栏参数
*/
使用:qs.stringify(params)


/**
*对象转换成为get方式参数格式
* @param {obj} obj 对象格式
*/
使用:qs.parse(obj)

Keywords

FAQs

Last updated on 06 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc