@humanwhocodes/module-importer
Universal module importer for Node.js
Found 2154 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
mdast extension to parse and serialize MDX (or MDX.js)
micromark extension to support MDX.js
A fork of `import-meta-resolve` with commonjs + ESM support at the same time, AKA dual package.
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
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.
CLI tool for Size Limit
[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.
Determines whether a Node file is a Module (`import`) or a Script (`require`)
The most popular library of interactive components built with Tailwind CSS
Mouse wheel normalization across multiple multiple browsers.
TypeScript HYbridizer - Hybrid (CommonJS/ESM) TypeScript node package builder
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.
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
Does the current environment have `import()` support?
Standard dynamic imports with a few extra features
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.
vary rewrite in TypeScript and ESM
es-escape-html rewrite for ESM
Data about countries - like their ISO codes and currencies
Isomorphic `require.resolve` for ESM and CommonJS.
Zero-config rollup bundler
Find and load configuration from a package.json property, rc file, or CommonJS module.
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.
A simple, lightweight API for handling cookies in the browser
OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!
provides native ESM import and globals mocking for unit tests
TypeScript Module Loader
A promise based node resolution library based on enhanced-resolve.
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.
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
Make configurable canvas easily with Canvafy
Get accessibility information about colour combinations
Dual ESM/CommonJS wrapper around lodash
A Typescript-First utility library inspired by Lodash. Optimized for modern browsers.
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.
ESM and TypeScript rewrite of Google's diff-match-patch
A commonjs to esm converter.
A commonjs to esm converter for esbuild.
Add .js extension to each relative ESM import and export statement in JavaScript file
Easy hot module reloading (HMR) for Node.js and ESM
The ESM-powered frontend build tool. Fast, lightweight, unbundled.
Convert packages to ESM.
Babel plugin to rewrite import.meta for bundled usage
PATTERN_KEY_COMPARE implementation
Auto fix import path for esm compatibility.
< 1 kB GraphQL query minifier
> Currently an alpha-quality, best-effort implementation. > May be unnecessary if you use TypeScript's `"module": "NodeNext", "moduleResolution": "NodeNext"`
The Skypack SDK.
ESM compatible deepcopy
resolve "imports" in package.json
MailerLite Node.js SDK
Run ES Module syntax in any browser – even IE!
🐊Putout plugin adds ability to convert commonjs to ecma script module
Dynamic imports for all
A tiny `esm` snippets interop lib
Babel plugin for stubbing (ES6, ES2015) module exports
Hierarchical node.js configuration with files, environment variables, command-line arguments, and atomic object merging.
A Babel plugin transform to convert CommonJS to ES modules
🐊Putout plugin adds ability to convert ecma script module to commonjs
Blazing-fast, zero-dependency uploader for CloudKu. Supports auto-conversion, chunked uploads, and TypeScript. Easily upload images, videos, audio, and documents via Node.js.
Infinite nested material menus
A collection of strictest typescript configurations for various environments
A TypeScript API and CLI for the Akamai NetStorage REST interface
Searches for and loads your tool's JavaScript configuration files with full support for CJS, ESM, TypeScript and more.
An alternative to module-alias, but for esm
A collection of really strict eslint configurations for various environments
Synchronously import dynamic ECMAScript Modules similar to CommonJS require. Basic wrapper around esm for compatibility with both ESM and CJS projects in NodeJS.
Storybook builder powered by `@web/dev-server`
Professional PostgreSQL client NodeJS
Properly handle CJS imports in ESM.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Promises with the resolve and reject functions exposed
Transforms a project that uses CommonJS to ES Modules.
OpenAPI schema generator and validator for Cloudflare Workers
ES2015 to CommonJS import/export transformer
XYLabs Logger Library
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
🐊Putout plugin improves code related to generators
parse and handle import/export for browserify
Easy __dirname and __filename alternatives for ES Modules
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
A utility library for creating Node loader hooks
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
🐊Putout plugin helps with labels
🚀 lightweight TypeScript abstract logger • level based filtering and optional tagging • supports both ESM & CJS
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
A CLI and equivalent JS API to find unused ECMAScript module exports in a project.
A simple tool that add package.json({"type":"commonjs"/"module"}) to TypeScript outDir for dual package.
Storybook framework for `@web/storybook-builder` + Web Components
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
A modern, fast, RFC 4180 compliant parser for JS
Calculates unsigned CRC32. Optimized Cycle Redundancy Check.
Generates a random phone number following the E.164 international standard
Dev server plugin for using storybook with es modules.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Utilities for resolving and mapping files.
Loader that transpiles typescript modules using esbuild.
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
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
A collection of node modules re-exported as ES Modules
🐊Putout plugin improves ability to transform ESM code
Official Ipregistry Javascript Library.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
ESLint plugin that enforces imports to follow native ESM resolution
A tool that can transform CommonJS to ESM
vite for qiankun
Build ES module to CommonJs module for Node.js/Electron
Node.js tool for updating your ES module and CommonJS specifiers.
A Babel plugin that converts AMD modules to ES modules
Chainable ESModule Loader for Typescript
A quick and light esm / node module to look up state city or zips to get either.
TypeScript dual packages.
LINQ ported to TypeScript
Applies the TypeScript compiler during Vite transform build phase.
A cross-platform, partial implementation shim of Node Buffer.
Modern middleware with promises and status
A TypeScript library for handling WOFF2 encoding using WebAssembly
Bridge the gap between ES modules and CommonJS modules with an easy-to-use alternative to `tsc`.
Build Tool for Browser and Node Applications
Chainable ESModule Loader for CSS and Preprocessors
Gold-standard build tool for TypeScript libraries
Zero dependencies Query Builder for Cloudflare Workers
Shim for `import.meta.resolve`
A webpack plugin that changes the output to be an ESM library
An implementation of the Node.js module resolution algorithm.
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.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
README.md
A customizable and accessible select component with search functionality built with Lit
A cross-browser ponyfill or polyfill for showOpenFilePicker
Alpaca Headless
Handy dayjs(2KB immutable date library alternative to Moment.js) filters and directives for Vue.js
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Error handling for Gulp plugins with ESM support
Alpaca Headless
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
ESM loader to transform imports using ESBuild
A tiny (25 bytes) Promise wrapper around setTimeout
Fancy colorful console debugger with custom scope written in tiny TypeScript, ES module.
The vlt CLI
Gulp plugin for stylelint with ES module support.
A lightweight, security-first logging utility with automatic data redaction for Node.js applications - the first logging library with built-in PII protection.
ESM/CJS module that easily converts JSON to CSV. This package supports streaming and buffered conversion to CSV.
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).
libSQL Wasm packaged as an ES module.
Modular testing for JavaScript
Vue imge placeholder directive for broken images.
ES module distribution for Stdlib, a standard library for JavaScript and Node.js.
Fancy colorful console debugger with custom scope written in tiny TypeScript, ES module.
Gulp plugin for Rollup JavaScript Module Bundler
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.
Add an extension to import specifiers that do not already have one, replace the extensions of those that do, or even rewrite specifiers entirely
Convert HEX/HEXa/aHEX with alpha to RGBa and back
A ES6 class for node-canvas with built-in functions and chained methods.
Lightweight, Material Design inspired button for scroll-to-top of the page. No dependencies. Pure Angular!
A serverless plugin that will fix the problem of AWS-Layers not working with ES Modules (ESM .mjs)
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.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Transform global variables in JavaScript
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.
A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.
Wrap the whole script in a function — export as CommonJS, ES Modules, IIFE, or a global variable
A solution to import files on the module and commonjs at the same time
Argon2 ESM for browser
A babel plugin to fix the default import interoperability issue in Node.js
A Next.js App or page decorator, React context object, and React hook to access Node.js HTTP server context when rendering components.
A simple CLI to run Node.js and report code coverage.
Publish project as dual ES modules and CommonJS package
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
ESLint plugin which enforces explicit .js extensions in local imports while leveraging import resolvers.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base64 encoding and decoding for both browser and node, with binary file support.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Shared core components and utilities for PACE applications
Base functionality used throughout XYO TypeScript/JavaScript libraries that access Mongo DB
Fishbird is a simple, lightweight, and fast Promise utility library
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
CommonJS version of lowdb 3.0.0. See https://github.com/mifi/commonify
Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild
Asynchronously creates a disposable directory in the OS temporary directory that gets deleted after the callback is done or errors.
A collection of utility classes, functions and decorators for javascript/typescript projects, for use in the browser.
Verify that file or package, be it remote, or local, is a valid ECMAScript Module
Javascript implementation of WASI for Node.js and the Browser.
A code formatter for Lua (ESM/CJS fork)
tiny and simple-to-use Javascript / TypeScript QR-Code generator library. Fully type-safe and esm module compatible
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Renders nested React components with asynchronous cached loading; useful for GraphQL clients and server side rendering.
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
dual-publish plugin for Size Limit
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.
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
Typescript + ESM version of punycode.js
Quickly attach multiple ESM Loaders and/or --require hooks together
Polyfills for ESM like __dirname, __filename, etc