@humanwhocodes/module-importer
Universal module importer for Node.js
Found 2161 results for esm
Universal module importer for Node.js
A tiny (952b), correct, general-purpose, and configurable "exports" and "imports" resolver without file-system reliance
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
mdast extension to parse and serialize MDX.js ESM (import/exports)
Resolve things like Node.js — ponyfill for `import.meta.resolve`
A tiny, zero-dependency yet spec-compliant asynchronous iterator polyfill/ponyfill for ReadableStreams.
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
micromark extension to support MDX.js
A fork of `import-meta-resolve` with commonjs + ESM support at the same time, AKA dual package.
mdast extension to parse and serialize MDX (or MDX.js)
Import a module like with require() but from a given path (for ESM)
Fast and easy parser for declarations of import and export in ECMAScript/TypeScript
A blazing fast ES module imports parser.
Tiny local JSON database for Node, Electron and the browser
Dynamic Module Loader
A terminating Apollo Link for Apollo Client that fetches a GraphQL multipart request if the GraphQL variables contain files (by default FileList, File, or Blob instances), or else fetches a regular GraphQL POST or GET request (depending on the config and
Determines whether a Node file is a Module (`import`) or a Script (`require`)
Comprehensive TypeScript/JavaScript utility library with cross-environment support (Node.js, browser, web worker) providing helper functions, polyfills (ES5-ES2023), type checking utilities, and optimized implementations for better minification and code r
get the file directory from import.meta.url
Middleware and a scalar Upload to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
[Node.js](https://nodejs.org) + [Gjs](https://gjs.guide/) + [Deno](https://deno.land/) module that returns the current script dirname and filename. Similar to `__dirname` and `__filename` but also works in CommonJs and ES modules.
CLI tool for Size Limit
The most popular library of interactive components built with Tailwind CSS
Mouse wheel normalization across multiple multiple browsers.
Keyboard Controller
Modern TypeScript JSON diff library - Zero dependencies, high performance, ESM + CommonJS support. Calculate and apply differences between JSON objects with advanced features like key-based array diffing, JSONPath support, and atomic changesets.
TypeScript HYbridizer - Hybrid (CommonJS/ESM) TypeScript node package builder
Load a esm or cjs config from the file system
Fork of graphql-upload@8 that works with graphql@15 for compatibility with apollo-server@2
Standard dynamic imports with a few extra features
Does the current environment have `import()` support?
mime-types rewrite in TypeScript with ESM and CommonJS targets
vary rewrite in TypeScript with ESM and CommonJS targets
Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild
SQLite Wasm conveniently wrapped as an ES Module.
A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.
Load a string as if it was an esm or commonjs module with a given filename.
Simple tools for creating interoperable CJS & ESM packages.
A fake template literal tag to trick syntax highlighters, linters and formatters into action.
es-escape-html rewrite for ESM
vary rewrite in TypeScript and ESM
Data about countries - like their ISO codes and currencies
Zero-config rollup bundler
Find and load configuration from a package.json property, rc file, or CommonJS module.
Isomorphic `require.resolve` for ESM and CommonJS.
Typescript minimalistic and developer friendly middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!
A simple, lightweight API for handling cookies in the browser
TypeScript Module Loader
provides native ESM import and globals mocking for unit tests
A promise based node resolution library based on enhanced-resolve.
Node.js loader for import specifiers as file paths without extensions or as directory paths
Make tsc-compiled `es2020/esnext` bundles compatible with esm/mjs requirements
walk directory for esm and cjs modules
Minimalistic and developer friendly middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
A Typescript-First utility library inspired by Lodash. Optimized for modern browsers.
Dual ESM/CommonJS wrapper around lodash
Get accessibility information about colour combinations
Convert packages to ESM.
Make configurable canvas easily with Canvafy
ESM and TypeScript rewrite of Google's diff-match-patch
import like require but async
A simple module to convert PDF files into image buffers (without filesystem usage)
ES module for the Google Analytics Global Site Tag.
A commonjs to esm converter.
A commonjs to esm converter for esbuild.
Easy hot module reloading (HMR) for Node.js and ESM
ESM compatible deepcopy
Babel plugin to rewrite import.meta for bundled usage
Add .js extension to each relative ESM import and export statement in JavaScript file
The ESM-powered frontend build tool. Fast, lightweight, unbundled.
The Skypack SDK.
< 1 kB GraphQL query minifier
Auto fix import path for esm compatibility.
> Currently an alpha-quality, best-effort implementation. > May be unnecessary if you use TypeScript's `"module": "NodeNext", "moduleResolution": "NodeNext"`
PATTERN_KEY_COMPARE implementation
A Babel plugin transform to convert CommonJS to ES modules
resolve "imports" in package.json
MailerLite Node.js SDK
A tiny `esm` snippets interop lib
Dynamic imports for all
🐊Putout plugin adds ability to convert commonjs to ecma script module
Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.
Run ES Module syntax in any browser – even IE!
A collection of strictest typescript configurations for various environments
🐊Putout plugin adds ability to convert ecma script module to commonjs
Infinite nested material menus
A collection of really strict eslint configurations for various environments
A TypeScript API and CLI for the Akamai NetStorage REST interface
An alternative to module-alias, but for esm
Searches for and loads your tool's JavaScript configuration files with full support for CJS, ESM, TypeScript and more.
Storybook builder powered by `@web/dev-server`
Synchronously import dynamic ECMAScript Modules similar to CommonJS require. Basic wrapper around esm for compatibility with both ESM and CJS projects in NodeJS.
Properly handle CJS imports in ESM.
Babel plugin for stubbing (ES6, ES2015) module exports
Blazing-fast, zero-dependency uploader for CloudKu. Supports auto-conversion, chunked uploads, and TypeScript. Easily upload images, videos, audio, and documents via Node.js.
Professional PostgreSQL client NodeJS
XYLabs Logger Library
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Promises with the resolve and reject functions exposed
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
ES2015 to CommonJS import/export transformer
Transforms a project that uses CommonJS to ES Modules.
OpenAPI schema generator and validator for Cloudflare Workers
🐊Putout plugin improves code related to generators
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
A utility library for creating Node loader hooks
parse and handle import/export for browserify
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
ESLint plugin that ensures non-index filenames match to at least one named export.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
🚀 lightweight TypeScript abstract logger • level based filtering and optional tagging • supports both ESM & CJS
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
🐊Putout plugin helps with labels
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Easy __dirname and __filename alternatives for ES Modules
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
A CLI and equivalent JS API to find unused ECMAScript module exports in a project.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
A simple tool that add package.json({"type":"commonjs"/"module"}) to TypeScript outDir for dual package.
Calculates unsigned CRC32. Optimized Cycle Redundancy Check.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Generates a random phone number following the E.164 international standard
Dev server plugin for using storybook with es modules.
A modern, fast, RFC 4180 compliant parser for JS
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Utilities for resolving and mapping files.
Storybook framework for `@web/storybook-builder` + Web Components
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
A collection of node modules re-exported as ES Modules
Node.js loader for import specifiers as file paths without extensions or as directory paths
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
Types, utilities and base class for custom loaders.
A utility library for promises, support both esm and commonjs
Loader that transpiles typescript modules using esbuild.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
🐊Putout plugin improves ability to transform ESM code
Official Ipregistry Javascript Library.
ESLint plugin that enforces imports to follow native ESM resolution
vite for qiankun
A tool that can transform CommonJS to ESM
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Build ES module to CommonJs module for Node.js/Electron
Node.js tool for updating your ES module and CommonJS specifiers.
LINQ ported to TypeScript
A Babel plugin that converts AMD modules to ES modules
Chainable ESModule Loader for Typescript
Applies the TypeScript compiler during Vite transform build phase.
Modern middleware with promises and status
A quick and light esm / node module to look up state city or zips to get either.
TypeScript dual packages.
Bridge the gap between ES modules and CommonJS modules with an easy-to-use alternative to `tsc`.
A TypeScript library for handling WOFF2 encoding using WebAssembly
Chainable ESModule Loader for CSS and Preprocessors
A cross-platform, partial implementation shim of Node Buffer.
Gold-standard build tool for TypeScript libraries
Build Tool for Browser and Node Applications
A webpack plugin that changes the output to be an ESM library
ES module distribution for Stdlib, a standard library for JavaScript and Node.js.
An implementation of the Node.js module resolution algorithm.
Shim for `import.meta.resolve`
Zero dependencies Query Builder for Cloudflare Workers
README.md
Wdio Service to inject result of automatic test run in Azure DevOps TestPlan
Azure DevOps Test Reporter to inject result of automatic test run in Azure DevOps TestPlan
Detect the module type of a running Node.js file.
You can import prismjs/components without considering language dependencies.
Alpaca Headless
Handy dayjs(2KB immutable date library alternative to Moment.js) filters and directives for Vue.js
A cross-browser ponyfill or polyfill for showOpenFilePicker
Alpaca Headless
A customizable and accessible select component with search functionality built with Lit
Error handling for Gulp plugins with ESM support
Vue imge placeholder directive for broken images.
ESM loader to transform imports using ESBuild
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
ESM/CJS module that easily converts JSON to CSV. This package supports streaming and buffered conversion to CSV.
A tiny (25 bytes) Promise wrapper around setTimeout
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Fancy colorful console debugger with custom scope written in tiny TypeScript, ES module.
Gulp plugin for stylelint with ES module support.
Modular testing for JavaScript
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
libSQL Wasm packaged as an ES module.
Add an extension to import specifiers that do not already have one, replace the extensions of those that do, or even rewrite specifiers entirely
A lightweight, security-first logging utility with automatic data redaction for Node.js applications - the first logging library with built-in PII protection.
The vlt CLI
A GraphQL client for React using modern context and hooks APIs that’s lightweight (< 4 kB) but powerful; the first Relay and Apollo alternative with server side rendering.
A ES6 class for node-canvas with built-in functions and chained methods.
Fancy colorful console debugger with custom scope written in tiny TypeScript, ES module.
An [`element-vir`](https://npmjs.com/package/element-vir) drop-in element for building, testing, and demonstrating a collection of elements (or, in other words, a design system).
A serverless plugin that will fix the problem of AWS-Layers not working with ES Modules (ESM .mjs)
Tool to convert Commonjs files into ESM
Lightweight, Material Design inspired button for scroll-to-top of the page. No dependencies. Pure Angular!
Gulp plugin for Rollup JavaScript Module Bundler
Transform global variables in JavaScript
Paydock client sdk
Babel plugin to rewrite bare imports for browser use.
[](https://www.npmjs.com/package/@2bad/tsfix) [](https://www.npmjs.com/package/@2bad/tsfix) [ but using localeCompare.
Javascript implementation of WASI for Node.js and the Browser.
esbuild plugin for loading import maps from a Eik server and applying the mapping to ECMAScript modules in preparation for upload to the same server.
A fast and modern bundler for Node.js and TypeScript.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
A solution to import files on the module and commonjs at the same time
A simple CLI to run Node.js and report code coverage.
Rollup plugin for loading import maps from a Eik server and applying the mapping to ECMAScript modules in preparation for upload to the same server.
dual-publish plugin for Size Limit
Base64 encoding and decoding for both browser and node, with binary file support.
Zero-dependency templating library for modern JavaScript - HTML, CSS, SQL, Markdown and more
Fishbird is a simple, lightweight, and fast Promise utility library
ESLint plugin which enforces explicit .js extensions in local imports while leveraging import resolvers.
Typescript + ESM version of punycode.js
Asynchronously creates a disposable directory in the OS temporary directory that gets deleted after the callback is done or errors.
CommonJS version of lowdb 3.0.0. See https://github.com/mifi/commonify
This is an example TypeScript Package ready to be published on npm. It has been set up with automated tests and package publishing workflow using GitHub Actions CI/CD. It is made primarily for GitHub + VS Code (Windows / Mac / Linux) users who are about t
A webpack-like loader for Node
Verify that file or package, be it remote, or local, is a valid ECMAScript Module
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
A code formatter for Lua (ESM/CJS fork)
Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild
Quickly attach multiple ESM Loaders and/or --require hooks together
A modern, free, lightweight npm package for translating react apps (component wrapper.) No API keys or language list files are required.
NPM Sentinel MCP - A powerful Model Context Protocol (MCP) server that revolutionizes NPM package analysis through AI. Built to integrate with Claude and Anthropic AI, it provides real-time intelligence on package security, dependencies, and performance.
Use vue/react to develop 'vscode extension webview', supporting esm/cjs
Renders nested React components with asynchronous cached loading; useful for GraphQL clients and server side rendering.
tiny and simple-to-use Javascript / TypeScript QR-Code generator library. Fully type-safe and esm module compatible
Chainable ESModule Loader for Images
Polyfills for ESM like __dirname, __filename, etc
Zero-dependency isomorphic routing library for modern JavaScript - Server and CLI routing
Example code for using using ts-node/esm
Execute a callback when the process exits, passing the exit code (ESM/CJS)
Modern conventional-changelog parser with ES modules and TypeScript support
Base functionality used throughout XY Labs TypeScript/JavaScript libraries