usher-xdg
Suggest paths for where to save what, trying to follow OS-specific conventions.
Found 43 results for __dirname
Suggest paths for where to save what, trying to follow OS-specific conventions.
convert __dirname from CommonJS into ESModule System
Babel plugin that returns an object containing paths like __dirname and __filename as static values
insert implicit module globals into a module-deps stream
The most used and necessary variable for projects in node js
A utility for easy retrieval of __dirname and __filename in Node.js ES6 modules.
Handy function to handle import.meta
Lazy define current directory
A module for using the __dirname with the "module" type for node
You can use __dirname and __filename when using ESM
Get a path in the __dirname
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
Fast ESModules __dirname alternative
Polyfill of the `import.meta.dirname` and `import.meta.filename`.
A small utility for safely deriving absolute file and directory paths from import.meta in Node.js, with a consistent fallback order.
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