News for hackers. Stuff that matters.
Re:Finally, a guide for Node.js and TypeScript and ESM that ... by petre on Tuesday November 21, 2023 @03:29PM (#38369606)
Require is fine but I totally hate the CJS exports. Feels like writing '90s era Perl code. On the other hand ESM dynamic imports like

  import('this').then(r => that()) 
rather suck.

There are no comments on this comment yet.