Skip to content

maiano/data-processing-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Processing CLI

Interactive command-line tool for file navigation and data processing.

Requirements

  • Node.js 24.10.0+

Setup

npm run start

Commands

Navigation

Command Description
up Move up one directory level
cd <path> Navigate to directory (relative or absolute)
ls List files and folders in current directory
.exit Exit the application

Data Processing

Count lines, words and characters

count --input file.txt

Calculate file hash

hash --input file.txt
hash --input file.txt --algorithm md5
hash --input file.txt --algorithm sha512
hash --input file.txt --save

Supported algorithms: sha256 (default), md5, sha512

Compare file hash

hash-compare --input file.txt --hash file.txt.sha256
hash-compare --input file.txt --hash file.txt.md5 --algorithm md5

Convert CSV to JSON

csv-to-json --input data.csv --output data.json

Convert JSON to CSV

json-to-csv --input data.json --output data.csv

Notes

  • All file paths can be relative (to current working directory) or absolute
  • All file operations use Streams API
  • Working directory starts at user home directory

About

Data Processing Toolkit — an interactive command-line application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors