added project structure

This commit is contained in:
2025-06-09 15:24:23 +02:00
parent bc2554b981
commit c29077988e
1194 changed files with 600273 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
const {pathToFileURL} = require('url');
// Hack to avoid Module.runMain on node 18.6.0
// Keeping it simple for now, isolated in this file.
// Could theoretically probe `getFormat` impl to determine if `import()` or `Module._load()` is best
// Note that I attempted a try-catch around `Module._load`, but it poisons some sort of cache such that subsequent `import()` is impossible.
exports.run = function(entryPointPath) {
import(pathToFileURL(entryPointPath));
}