News for hackers. Stuff that matters.
Re:Uv's killer feature is pulling in local dependencies by nosefurhairdo on Monday January 13, 2025 @02:17PM (#42687472)
I was referring to cjs vs esm (require vs import, respectively). I suspect I was late enough to the game (and focused on browser js) such that I've mostly only used esm.

I will note that node has embraced esm, and nowadays it's frowned upon to only publish cjs packages so this problem is shrinking every day. Also cool is some of the newer runtimes support esm/cjs interop.

There are no comments on this comment yet.