Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build Status

Command-line tool for converting anything to JSON.

Features

  • Eat everything, spits out json
  • Supports json, yaml, toml, xml, ini
  • Formatting and highlighting
  • Standalone binary

Install

$ npm install -g @medv/eat

Or download standalone binary from releases page.

Usage

$ eat resp.xml > resp.json

$ cat config.yaml | eat > config.json

$ eat deps.toml

Other examples

Use it with fx tool for extracting needed fields.

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

Related

  • fx – cli JSON processor on JS
  • any-json - alternative cli tool for converting formats

License

MIT

About

Eat everything πŸ§€

Resources

License

Sponsor this project

 

Packages

No packages published