Menu

A zero-dependency invoice generator CLI, because an invoice is just a table
📰

A zero-dependency invoice generator CLI, because an invoice is just a table

DEV Community: node·Kleo Geos·20 days ago
#UxMtJLHu
#devtonodejs#devto#dev#invoice#freelance
Reading 0:00
15s threshold

I do freelance dev work on the side, and every month I was opening a "serious" invoicing SaaS just to generate one HTML page with a line-item table. The onboarding alone took longer than writing the invoice by hand.

So I built freelance-invoice-cli: a tiny Node script that takes a JSON file and spits out a clean, printable HTML invoice. No React, no PDF library, no build step - just template literals and escaping.

Why zero dependencies

Three reasons, in order of how much they actually matter:

An invoice template does not need a framework. It is a table and some text.

Every dependency is a thing that can break, get deprecated, or ship a supply-chain surprise.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.