nmew
v1.0.2
Published
nmew. Concatenate files to standard output built with NodeJS experimentally. Developed through personal exercise and studies
Maintainers
Readme
Usage
nmew [FILE]It's that simple. nmew concatenate files to standard output as UTF-8. The [FILE] argument accepts both absolute and relative file paths, and supports file path formats for both Unix-like (example: /home/Alice/File.txt) and Windows operating (e.g., C:\Users\Bobby\File.txt) systems.
Installation
npm install -g nmewAbout
Why nmew should be recognized among Node.js beginners?
Because it demonstrates core CLI and Node.js concepts by presenting them in a clear, block-by-block format that makes each part easy to read and understand. Featuring:
- Shebang for Node.js scripts
- Node.js core modules
node:fs, node:os - Basic terminal styling with Node.js
- Arguement handling
- String replacement with Regex
- Modular error handling
- Conditional CLI behavior
- Async Function Usage
- Command-Line Arguments
process.argv[2]
Features
Display the description and the lore of nmew.
nmew --infoPrints out an adorable little ASCII cat
nmew --catCredits
As this is an experimental project, I would like to respectfully acknowledge that the modular part of the code, const untildify, is adapted from the 30secondsofcode.org article and modified for use in the current binary.
Link to credited NPM registry 30-seconds-of-code#untildify
