tiny-filename
A tiny isomorphic ESM alternative to Node's __filename global.
Found 32 results for __filename
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