@mummareddy_mohanreddy/jsone-cli
v0.4.3
Published
Command-line tool to convert and analyze JSON/jsone files as tables
Maintainers
Readme
jsone-cli
Command-line tool to convert and analyze JSON/jsone files with interactive table formatting.
Installation
npm install -g jsone-cliUsage
Convert JSON to Table
# Display as ASCII table (default)
jsone convert data.json
# Export as CSV
jsone convert data.json --format csv --output table.csv
# Export as JSON
jsone convert data.json --format jsonAnalyze Data
# Show statistics about the data
jsone analyze data.jsonCommands
convert <file>- Convert JSON/jsone file to table formatanalyze <file>- Show data statisticshelp- Display help messageversion- Show version
Options
--format, -f- Output format:table,csv,json(default:table)--output, -o- Output file path (default: stdout)--help, -h- Show help--version, -v- Show version
Examples
# Convert and display
jsone convert users.json
# Export to CSV
jsone convert orders.jsone --format csv -o orders.csv
# Analyze data
jsone analyze data.json
# Show version
jsone --versionFeatures
- ✅ Convert JSON/jsone to ASCII tables
- ✅ Export to CSV format
- ✅ JSON output support
- ✅ Data analysis and statistics
- ✅ Zero dependencies (uses @mummareddy_mohanreddy/jsone-core)
License
MIT
