Hacker News new | past | comments | ask | show | jobs | submit login

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: