Search results
30 packages found
Access to __filename and __dirname within ECMAScript modules
Synchronously import dynamic ECMAScript Modules similar to CommonJS require. Basic wrapper around esm for compatibility with both ESM and CJS projects in NodeJS.
A Rollup plugin that allows you to conditionally import modules (CJS) based on environment variable
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
An ESLint plugin for linting ESLint plugins. Rules written in CJS, ESM, and TypeScript are all supported.
- read
- sham
- react-testing-library
- styling
- throttle
- defineProperty
- fast-deep-clone
- dataview
- listeners
- promises
- RxJS
- serialization
- recursive
- expression
- View more
An ESLint plugin for linting ESLint plugins. Rules written in CJS, ESM, and TypeScript are all supported.
Small utility to dynamically import ESM modules in CJS with TS
A rollup plugin to add, modify, and remove imports (cjs/es6/dynamic)
- add
- cjs
- es6
- delete
- dynamic
- import
- import-manager
- modules
- remove
- replace
- rollup
- rollup-plugin
- rollup-plugin-import-manager
- switch
Import scripts and modules from virtual filesystems
Allow importing of named exports from default-exporting (CJS/JSON) modules
walk directory for esm and cjs modules
ECMAScript 2015+/CommonJS module dependencies array from string
ECMAScript 2015+/CommonJS module dependencies array
Constructor for ECMAScript 2015+/CommonJS dependency unit `Object { requested, from, resolved }`
ECMAScript 2015+/CommonJS module dependencies helpers kit
RegExp rules to transpile import statements into require calls (used in ÀLaMode).
- import
- imports
- export
- exports
- ECMAscript
- ecma
- module
- default
- require
- a-la
- regular expression
- es6 modules
- es6
- CommonJS
- View more
ECMAScript 2015+/CommonJS module dependencies resolved array
ECMAScript 2015+/CommonJS module dependencies resolved in depth
list require and import paths from a JavaScript source
a browser-based loader for both AMD/UMD and CommonJS modules