require-from-es
This module, require-from-es, makes require, __dirname and __filename work flawlessly in ES-modules.
This module, require-from-es, makes require, __dirname and __filename work flawlessly in ES-modules.
A utility for easy retrieval of __dirname and __filename in Node.js ES6 modules.
provides utilities for nodejs to be able to resolve es modules, such as providing the __dirname and __filename variables
A tiny isomorphic ESM alternative to Node's __filename global.
ESM replacements for __dirname and __filename.
Babel plugin that generates the namespace for creating a logger based on the path of the module
get __dirname, __filename in ESModule project
Alternatives to `__dirname` and `__filename` when using ES modules.
Access to __filename and __dirname within ECMAScript modules
A module to bring back `__dirname` and `__filename` within 2 lines of code.