Home
Articles
Snippets
11 Sep, 2024
Using require in ESM Node.js
import { createRequire } from 'module' const require = createRequire(import.meta.url);