Counting words, letters, spaces, repeated words (at least 10 occurrences) in node.js
- exec shell command to run docker image
docker run -it --rm ghcr.io/neottil/file-content-statistics:v1.0.0
- type url or file path to get statistics (type "tests/testFile.txt" to use demo file)
if you want to analyze a file you can bind a volume and type filename in prompt when app is start.
docker run -it --rm -v FILE_PATH:/app/FILENAME ghcr.io/neottil/file-content-statistics:v1.0.0
eg.: docker run -it --rm -v ./README.md:/app/README.md ghcr.io/neottil/file-content-statistics:v1.0.0
- clone repository
- go into /app project directory
- exec shell command to run application
npm install
npm start