Search results
39 packages found
Babel plugin that returns an object containing paths like __dirname and __filename as static values
- __dirname
- __filename
- babel
- babel-plugin-macros
- base
- extention
- file
- filename
- gitRoot
- npmRoot
- path
- paths
- plugin
- static
- View more
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
Add any path to node's require path
Join the path with current directory.
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