Skip to content
项目

关于

Eats anything, spits out JSON 🧀

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Eat 🧀

CLI for converting anything to JSON.

Eat tries to apply parsers in the next order:

json
 ↪json5
   ↪toml
     ↪yaml
       ↪xml
         ↪html
           ↪ini
             ↪csv
               ↪tsv

Install

npm i -g @medv/eat

Usage

eat [file...]

cat config.yaml | eat
eat *.json
ls | eat

Use eat with fx:

cat response.xml | eat | fx .Document.Title

Related

  • fx – terminal JSON viewer.

License

MIT

探索相关项目

加载中…