cjs-globals
Use CommonJS globals, such as `__dirname` and `__filename`, in EcmaScript modules.
Use CommonJS globals, such as `__dirname` and `__filename`, in EcmaScript modules.
ESM replacements for __dirname and __filename.
A module to bring back `__dirname` and `__filename` within 2 lines of code.
A utility for easy retrieval of __dirname and __filename in Node.js ES6 modules.
get __dirname, __filename in ESModule project
provides utilities for nodejs to be able to resolve es modules, such as providing the __dirname and __filename variables
convert __dirname from CommonJS into ESModule System
A module for using the __dirname with the "module" type for node
Packet to provide a kind of desicion because of __dirname and __filename are deprecated within es6 modules
Fast ESModules __dirname alternative
work with esm __filepath and __dirname pathing constants in imports as in commonjs nodejs environment
__dirname and __filename in ES Modules without the need for imports
A fast ESM tools
A tiny isomorphic ESM alternative to Node's __dirname global.
This module, require-from-es, makes require, __dirname and __filename work flawlessly in ES-modules.
make ESM a bit more commonJS
Access to __filename and __dirname within ECMAScript modules
The most used and necessary variable for projects in node js
Alternatives to `__dirname` and `__filename` when using ES modules.
Polyfills for ESM like __dirname, __filename, etc