Skip to main content

2 posts tagged with "developer-experience"

View All Tags

Building a Personal CLI Tool Without Global Node, npm, or TypeScript

· 4 min read
Pere Pages
Software Engineer
A handcrafted command-line tool assembled from small parts on a workbench beside a terminal emitting a custom command

I wanted a tiny CLI tool for a very specific workflow: take an image and expand its canvas to 1200x630, centered, without resizing the image itself. Useful for Open Graph images.

But the interesting part was not the image logic. The interesting part was this constraint:

I do not want global Node, npm, pnpm, TypeScript, or tsx.

That changes the setup.