Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antonmedv/eat

Eats anything, spits out JSON 🧀
https://github.com/antonmedv/eat

Last synced: about 2 months ago
JSON representation

Eats anything, spits out JSON 🧀

Awesome Lists containing this project

README

        

# 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](https://github.com/antonmedv/fx):

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

## Related

* [fx](https://github.com/antonmedv/fx) – terminal JSON viewer.

## License

[MIT](LICENSE)