Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

waxodium/nmew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 nmew

About

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 --info

Prints out an adorable little ASCII cat

nmew --cat

Credits

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

Contributors