insert-module-globals
insert implicit module globals into a module-deps stream
Found 32 results for __filename
insert implicit module globals into a module-deps stream
Access to __filename and __dirname within ECMAScript modules
Babel plugin that returns an object containing paths like __dirname and __filename as static values
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
provides utilities for nodejs to be able to resolve es modules, such as providing the __dirname and __filename variables
Easy __dirname and __filename alternatives for ES Modules
Babel plugin that rewrites __dirname and __filename to static values
Converts module differences in source files between ES and CommonJS.
Polyfills for ESM like __dirname, __filename, etc
[](https://github.com/zirkelc/commonjs-shim/actions/workflows/ci.yml) [](https://www.npmjs.com/package
Babel plugin that generates the namespace for creating a logger based on the path of the module
make ESM a bit more commonJS
ESM replacements for __dirname and __filename.
A micro helper for `import.meta` data
📍 '__dirname' and '__filename' in harmony modules
Alternatives to `__dirname` and `__filename` when using ES modules.
Babel plugin that returns an object containing paths like __dirname and __filename as static values
insert implicit module globals into a module-deps stream
A utility for easy retrieval of __dirname and __filename in Node.js ES6 modules.
Handy function to handle import.meta
A tiny isomorphic ESM alternative to Node's __filename global.
You can use __dirname and __filename when using ESM
insert implicit module globals into a module-deps stream
get import.meta.url for commonJS
get __dirname, __filename in ESModule project
Packet to provide a kind of desicion because of __dirname and __filename are deprecated within es6 modules
__dirname and __filename in ES Modules without the need for imports
A fast ESM tools
Polyfill of the `import.meta.dirname` and `import.meta.filename`.
work with esm __filepath and __dirname pathing constants in imports as in commonjs nodejs environment
This module, require-from-es, makes require, __dirname and __filename work flawlessly in ES-modules.
A require like function for GJS