n2j 一个简单的把 url 参数转化成 json 格式的命令行小工具 npm install n2j -g n2j tab=repositories 会得到: { "tab": "repositories" }