Search results

29 packages found

make ESM a bit more commonJS

published 1.0.1 a year ago
M
Q
P

work with esm __filepath and __dirname pathing constants in imports as in commonjs nodejs environment

published 1.0.0 2 months ago
M
Q
P

A tiny isomorphic ESM alternative to Node's __filename global.

published 1.0.1 4 months ago
M
Q
P

Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)

published 3.4.0 4 months ago
M
Q
P

insert implicit module globals into a module-deps stream

published 7.2.1 4 years ago
M
Q
P

📍 '__dirname' and '__filename' in harmony modules

published 1.1.0 5 years ago
M
Q
P

Access to __filename and __dirname within ECMAScript modules

published 1.1.1 a year ago
M
Q
P

A module to bring back `__dirname` and `__filename` within 2 lines of code.

published 2.0.2 5 days ago
M
Q
P

ESM replacements for __dirname and __filename.

published 0.1.7 a year ago
M
Q
P

__dirname and __filename in ES Modules without the need for imports

published 1.1.0 5 months ago
M
Q
P

Babel plugin that returns an object containing paths like __dirname and __filename as static values

published 3.0.1 4 years ago
M
Q
P

A utility for easy retrieval of __dirname and __filename in Node.js ES6 modules.

published 0.1.1 6 months ago
M
Q
P

provides utilities for nodejs to be able to resolve es modules, such as providing the __dirname and __filename variables

published 1.0.1 a year ago
M
Q
P

Easy __dirname and __filename alternatives for ES Modules

published 1.1.1 3 years ago
M
Q
P

insert implicit module globals into a module-deps stream

published 8.0.3 7 years ago
M
Q
P

Babel plugin that returns an object containing paths like __dirname and __filename as static values

published 1.0.0 6 years ago
M
Q
P

Alternatives to `__dirname` and `__filename` when using ES modules.

published 1.1.1 2 years ago
M
Q
P

Polyfills for ESM like __dirname, __filename, etc

published 1.0.1 a year ago
M
Q
P

This module, require-from-es, makes require, __dirname and __filename work flawlessly in ES-modules.

published 1.0.3 a year ago
M
Q
P

Babel plugin that rewrites __dirname and __filename to static values

published 1.1.0 8 years ago
M
Q
P