Adityacprtm
Aditya Pratama
Site Reliability Engineer
operator/01
system status
status available
tzGMT+7
response<24h
Back to Portfolio
NPM Card (npx adityacprtm)

NPM Card (npx adityacprtm)

Solo Developer2021 · 1 day

An interactive CLI business card published to npm. Run `npx adityacprtm` in any terminal to display contact info, social links, and a short bio with styled ASCII output.

Tech Stack

Node.jsnpm

Architecture

A single Node.js package with a bin entry point. When invoked via npx, the script outputs styled text to the terminal using chalk for colors and boxen for bordered layout. The package is published to the npm registry using npm publish.

Challenges & Solutions

Cross-Platform Terminal Compatibility

Ensuring consistent rendering across macOS, Linux, and Windows terminals required testing with multiple emulators. Some Unicode characters and ANSI escape sequences behaved differently, so a fallback mode using basic ASCII was added for Windows Command Prompt.

© 2026 Aditya Chamim Pratama All systems operational