@magic-works/commonjs-import.meta
A TypeScript transformer that add import.meta support for CommonJS module format.
A TypeScript transformer that add import.meta support for CommonJS module format.
Handy function to handle import.meta
Simple function for extract node variables __dirname, __filename, require and module from import.meta
Use CommonJS globals, such as `__dirname` and `__filename`, in EcmaScript modules.
make ESM a bit more commonJS
A utility for easy retrieval of __dirname and __filename in Node.js ES6 modules.
A simple Typescript AST transformer for ts-jest, that mock import.meta expressions.