node fn query:sed“ sjq .keynq'({key})=>键'” 源码
q npm install -g node-fn-query cat example.json | jq -c .[] | nq ' ({eyeColor}) => eyeColor ' # all eye color results cat example.json | jq -c .[] | nq --filter ' ({favoriteFruit}) => favoriteFruit === "banana" ' # filtered objects cat example.json | jq -c .[] | nq --reduce [] ' (acc, {friends}) =>
文件列表
node-fn-query-master.zip
(预估有个6文件)
node-fn-query-master
index.js
2KB
package.json
401B
example.json
7KB
.gitignore
31B
README.md
5KB
yarn.lock
5KB
暂无评论