logoalt Hacker News

wiljtoday at 5:25 PM2 repliesview on HN

I literally have a Claude Code skill called "/delib" that takes takes in any nodejs project/library and converts it to a dependency-less project only using the standard library.

It started as a what-if joke, but it's turned out to be amazing. So yeah, npmjs.com is just reference site for me now, and node_modules stays tiny.

And the output is honestly superior. I end up with smaller projects, clean code, and a huge suite of property-based tests from the refactor process. And it's fully automatic.


Replies

pixel_poppingtoday at 5:28 PM

It's that easy yes, and someday, we will literally be able to prompt "Redo the Linux kernel entirely in Zig" and it will practically make a 1:1 copy.

bobkbtoday at 8:09 PM

Interesting - I am interested to know how’s it impacting the codebase size interms of lines of code.