JS-088 MED: hand-rolled require-path resolution (libDir/_here) duplicated across 5 modules

The be-relative require workaround (resolve a module's own dir so it can require siblings by absolute path under the resident loop, where argv1 is loop.js not the module) is reinvented in five modules with subtly different fallbacks — "." vs argv1 vs __dirname. Several sites do the require LAZILY in a function body, defeating the registry warm-cache and hiding the dependency graph. Method: Issues.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome