@ayonli/jsext
A JavaScript extension package for building strong and modern applications.
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.
[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.
Generate dirnames tree
Filepath rename for next.
dirname for module (import/export)
Extract the non-magic parent path from a glob string.