Search results
40 packages found
convert __dirname from CommonJS into ESModule System
Polyfills for ESM like __dirname, __filename, etc
The most used and necessary variable for projects in node js
provides utilities for nodejs to be able to resolve es modules, such as providing the __dirname and __filename variables
This module, require-from-es, makes require, __dirname and __filename work flawlessly in ES-modules.
A micro helper for `import.meta` data
Babel plugin that rewrites __dirname and __filename to static values
You can use __dirname and __filename when using ESM
Join the path with current directory.
Add any path to node's require path
A module for using the __dirname with the "module" type for node
insert implicit module globals into a module-deps stream
A require like function for GJS
get __dirname, __filename in ESModule project
Packet to provide a kind of desicion because of __dirname and __filename are deprecated within es6 modules
Suggest paths for where to save what, trying to follow OS-specific conventions.
Handy function to handle import.meta