Hacker News new | ask | show | jobs
by singularity2001 1735 days ago
follow up question: how many different incompatible ways to require(), import … are there?
1 comments

Two (import + require, which, as import didn't exist, was necessary). Most current tooling is built to handle both (Deno draws a line under it by disallowing the older one)