Skip to content

antonmedv/eat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Eats anything, spits out JSON 🧀

Resources

License

Stars

Watchers

Forks

Sponsor this project