http-build-query:js中php的http_build_query()

时间:2021-05-12 05:11:02
【文件属性】:
文件名称:http-build-query:js中php的http_build_query()
文件大小:15KB
文件格式:ZIP
更新时间:2021-05-12 05:11:02
JavaScript httpBuildQuery() 从对象(JavaScript中php的http_build_query())生成URL编码的查询字符串。 安装: $ npm install http-build-query 用法: var httpBuildQuery = require ( 'http-build-query' ) ; // Simple using var obj = { id : 777 , message : 'hello' , token : 'x2s7d' } ; httpBuildQuery ( obj ) ; // message=hello&id=777&token=x2s7d // Example #3 http_build_query() with complex arrays // from php documentation: http://ph
【文件预览】:
http-build-query-master
----.eslintrc(162B)
----yarn.lock(33KB)
----.npmignore(9B)
----LICENSE(1KB)
----test()
--------test.js(3KB)
----README.md(1KB)
----.gitignore(31B)
----index.js(1KB)
----.eslintignore(4B)
----package.json(688B)

网友评论