AGENT SKILL
x2j-cli
Use this skill when the user wants to convert XML to JSON.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- x2j-cli
- description
- Use this skill when the user wants to convert XML to JSON.
03 SKILL.md 正文
X2J-CLI Plugin
Node.js command line script to convert XML input into JSON output.
Commands
File Conversion
x2j-cli file convert— Convert XML to JSON
Usage Examples
- "x2j-cli file convert --input data.xml"
- "cat data.xml | x2j-cli"
Installation
npm install --global x2j-cli
Examples
# Convert XML from URL
curl -sS http://example.com/data.xml | x2j
# Convert XML file
cat data.xml | x2j
# Using xml2json alias (also installed)
cat data.xml | xml2json
# Pipe to jq for further processing
cat data.xml | x2j | jq '.data'
# Save to file
cat data.xml | x2j > data.json
Key Features
- XML to JSON conversion
- Stdin/stdout support
- Easy pipeline integration
- Alias: xml2json
- Formatted JSON output
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57