Search results
20 packages found
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
- __dirname
- __filename
- commonjs
- deno
- deno-edition
- deno-entry
- denoland
- directory
- dirname
- ecmascript
- es2022
- es5
- esm
- export-default
- View more
A Babel plugin for resolving ESM import and export paths
Node.js loader for import specifiers as file paths without extensions or as directory paths
cli to rename file extensions and rewrite imports for commonjs (cjs) and esm after typescript build
Adds extensions in esm imports/exports
Node.js loader for import specifiers as file paths without extensions or as directory paths
- --experimental-specifier-resolution
- specifier-resolution
- node
- nodejs
- module
- loader
- resolver
- resolution
- esm
- es6
- esnext
- ecmascript
- extension
- filename
- View more
A function to recursively extract files and their object paths within a value, replacing them with null in a deep clone without mutating the original value. FileList instances are treated as File instance arrays. Files are typically File and Blob instance
Transform generated javascript import/require paths using typescript standard config
ESM and CJS support for `path.join` of both file paths and file URLs
Access to __filename and __dirname within ECMAScript modules
A custom loader for ESM projects that adds support for tsconfig paths
A custom loader for ESM projects that adds support for tsconfig paths
Clones a value, recursively extracting File, Blob and ReactNativeFile instances with their object paths, replacing them with null. FileList instances are treated as File instance arrays.
Resolve `import` and `export` expressions using the TSConfig `paths` and `baseUrl`. This was made to be used on Node environments where you need to have relative imports and most transpile tools (even `tsc` itself) doesn't change imports.
A Babel plugin that adds file extensions to Babel runtime import specifiers and require paths for Node.js ESM compatibility.
Clones a value, recursively extracting File, Blob and ReactNativeFile instances with their object paths, replacing them with null. FileList instances are treated as File instance arrays.
Ensures relative import and export paths are fully qualified.
Append a string to esm import paths in rollup
Append a string to esm import paths in rollup.
Append a string to esm import paths in rollup