Search results

26 packages found

insert implicit module globals into a module-deps stream

published 7.2.1 3 years ago
M
Q
P

make ESM a bit more commonJS

published 1.0.1 5 months ago
M
Q
P

ESM replacements for __dirname and __filename.

published 0.1.7 8 months ago
M
Q
P

Access to __filename and __dirname within ECMAScript modules

published 1.1.1 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 3 years ago
M
Q
P

📍 '__dirname' and '__filename' in harmony modules

published 1.1.0 4 years 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 5 months ago
M
Q
P

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

published 1.0.4 a month ago
M
Q
P

insert implicit module globals into a module-deps stream

published 8.0.3 6 years ago
M
Q
P

Polyfills for ESM like __dirname, __filename, etc

published 1.0.1 7 months ago
M
Q
P

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

published 1.0.0 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 8 months ago
M
Q
P

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

published 2.7.0 2 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

You can use __dirname and __filename when using ESM

published 1.0.15 2 years ago
M
Q
P

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

published 1.1.1 a year ago
M
Q
P

Easy __dirname and __filename alternatives for ES Modules

published 1.1.1 2 years ago
M
Q
P

A micro helper for `import.meta` data

published 0.2.4 3 years ago
M
Q
P

A fast ESM tools

published 0.0.2 7 months ago
M
Q
P

Babel plugin that rewrites __dirname and __filename to static values

published 1.1.0 7 years ago
M
Q
P