gulp-pathmap
Rename files with pathmap. Think of it like `sprintf` for paths.
Rename files with pathmap. Think of it like `sprintf` for paths.
A gulp plugin that allows you to edit Vinyl files directly.
Adds destination-related properties to the `file.data.dest` object on vinyl files.
Use CommonJS globals, such as `__dirname` and `__filename`, in EcmaScript modules.
Simple way to use dirname in ECMAScript
A tiny isomorphic ESM alternative to Node's __dirname global.
A JavaScript extension package for building strong and modern applications.
Polyfills globals like `__dirname` with modern ESM equivalents like `import.meta.dirname`
ESM replacements for __dirname and __filename.
const __dirname = useDirname(import.meta.url)
Generate dirnames tree
[Node.js](https://nodejs.org) + [Gjs](https://gjs.guide/) + [Deno](https://deno.land/) module that returns the current script dirname and filename. Similar to `__dirname` and `__filename` but also works in CommonJs and ES modules.
A module to bring back `__dirname` and `__filename` within 2 lines of code.
dirname for module (import/export)
Convert string to safe filename
Filepath rename for next.
Extract the non-magic parent path from a glob string.
local path for mjs
Get root folders of git, svn, mercurial, nodejs node_modules / package.json / package-lock.json, and nodejs .jscache folder
It's __dirname but for pkg'd windows applications