qs-all
v1.3.0
Published
copy qs.js
Downloads
5
Readme
#下载
cnpm i qs-all
#模块使用
const qs = require('qs-all')
let str = qs.stringify({a:1,b:2})
console.log(str)
//a=1&b=2
let data = qs.parse(`a=1&b=2`)
console.log(data)
//{a:1,b:2}
#第三方库使用
引入 http://unpkg.com/qs-all/dist/qs.js
let str = qs.stringify({a:1,b:2})
console.log(str)
//a=1&b=2
let data = qs.parse(`a=1&b=2`)
console.log(data)
//{a:1,b:2}