Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 🧀
- Host: GitHub
- URL: https://github.com/antonmedv/eat
- Owner: antonmedv
- License: mit
- Created: 2018-09-07T17:46:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-19T21:41:48.000Z (over 2 years ago)
- Last Synced: 2024-07-17T13:54:28.912Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 292
- Watchers: 5
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)