New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

dsh-json-tools

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dsh-json-tools

JSON 规范化:递归排序键、美化/压缩 JSON

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

dsh-json-tools · JSON 规范化

递归排序 JSON 键、美化/压缩 JSON。纯 Node 实现。

提供的工具

工具作用
json_sort递归排序对象键
json_format美化/压缩 JSON

安装

dsh plugin add dsh-json-tools

安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-json-tools"。

用法示例

把这段 JSON 的键排序,便于 diff
→ 调用 json_sort(data={b:1,a:2})

Keywords

deepseek-harness

FAQs

Package last updated on 19 Aug 2026

Related posts