【文件属性】:
文件名称:query-string:解析 URL 中的查询字符串
文件大小:3KB
文件格式:ZIP
更新时间:2021-07-08 00:48:05
JavaScript
请求参数
解析 URL 中的查询字符串
安装
$ component install nk-components/query-string
$ npm install nk-components/query-string --save
应用程序接口
var qs = require('query-string');
// /?foo=bar&name=john
var list = qs.list();
// >> { foo: 'bar', name: 'john' }
var nameValue = qs('name');
// >> 'john'
执照
麻省理工学院
【文件预览】:
query-string-master
----.npmignore(15B)
----LICENSE(1KB)
----README.md(370B)
----Makefile(166B)
----component.json(252B)
----.gitignore(17B)
----index.js(781B)
----test.html(289B)
----package.json(482B)