Loading...
More JSON Posts
{"name": "test-project","version": "1.0.0","description": "","main": "index.js","type": "module","scripts": {"test": "echo \"Error: no test specified\" && exit 1"},"author": "","license": "ISC","workspaces": ["packages/*"]}
{"editor.tabSize": 2,"editor.formatOnSave": true,"editor.defaultFormatter": "esbenp.prettier-vscode","editor.codeActionsOnSave": {"source.fixAll": "always","source.organizeImports": "always"},"javascript.preferences.importModuleSpecifier": "non-relative","javascript.updateImportsOnFileMove.enabled": "always","typescript.preferences.importModuleSpecifier": "non-relative","typescript.updateImportsOnFileMove.enabled": "always","search.exclude": {"**/node_modules": true,"**/package-lock.json": true,"**/dist": true}}
# Needs array or use -s to slurp# Just making sure it's an array, or object. | iterables |# This won't error (I want to use halt_error in the future, but idk how to convert this into an error.)# So if your output is empty, that's why[.[] | del(.[] | select(type == "array" or type == "object"))] |([.[] | keys[]] | unique | map({(.): null}) | add) as $uniqueKeys |($uniqueKeys | keys_unsorted | @csv),($uniqueKeys + .[] | [.[]] | @csv)