ESM import and globals mocking for unit tests
☆214Oct 27, 2025Updated 4 months ago
Alternatives and similar repositories for esmock
Users that are interested in esmock are comparing it to the libraries listed below
Sorting:
- A Jest runner that runs tests directly in bare Node.js, without virtualizing the environment.☆242Jan 22, 2026Updated last month
- Makes it easy to replace require'd dependencies.☆96Jun 1, 2024Updated last year
- Asserts a string matches a snapshot saved in a file. An environment variable can be used to save rather than assert snapshots.☆17Apr 25, 2023Updated 2 years ago
- output coverage reports using Node.js' built in coverage☆2,090Feb 28, 2026Updated last week
- A modern way to remove diacritics from strings. Particularly useful for writing search filters. Modern fork of andrewrk’s node-diacritics…☆11Jul 15, 2022Updated 3 years ago
- A fast function for calculating the visual width of a string once printed to the terminal.☆37Sep 30, 2025Updated 5 months ago
- Standard but also use TypeScript on JS files with jsdoc.☆35Apr 12, 2022Updated 3 years ago
- Publish schema files as TypeScript definitions on npm☆26Updated this week
- A tiny (156B) utility to compare a string against a template mask.☆23Jun 1, 2017Updated 8 years ago
- Suggestion box for PostCSS plugins☆14Apr 27, 2016Updated 9 years ago
- Architect plugin for Remix.☆13Apr 30, 2022Updated 3 years ago
- snapshot testing companion for node:test☆46Mar 2, 2026Updated last week
- A tiny (952b), correct, general-purpose, and configurable `"exports"` and `"imports"` resolver without file-system reliance☆401Dec 2, 2024Updated last year
- Linter for Browserslist config☆48Dec 19, 2025Updated 2 months ago
- RFC-7234 compliant caching for any `fetch` implementation☆219Nov 16, 2022Updated 3 years ago
- Test Planner for node:test☆31Updated this week
- The TypeScript documenter that meets you where you are☆28May 11, 2021Updated 4 years ago
- Mocking of Node.js EcmaScript modules☆26Feb 16, 2026Updated 2 weeks ago
- Small tool to inform you about potential risks in project dependencies list☆142Nov 21, 2023Updated 2 years ago
- Convert errors to/from plain objects.☆17Feb 28, 2026Updated last week
- Test your TypeScript types easily☆44Feb 20, 2024Updated 2 years ago
- Yet another esbuild playground☆22Updated this week
- Tiny tool to run commands for modified, staged, and committed files in a GIT repository.☆579Nov 17, 2025Updated 3 months ago
- Run a shell command if it's on the node of specified versions.☆15Jul 21, 2020Updated 5 years ago
- ☆17Jun 28, 2025Updated 8 months ago
- Bench transformer and isolated declarations☆22Updated this week
- Zero-effort nanomodule to submit a `<form>` element via `fetch` and receive the response☆20Jun 29, 2022Updated 3 years ago
- A recursive async iterator of the files and directories in a given directory. Can take multiple directories and files, limit walk depth a…☆19Dec 10, 2025Updated 2 months ago
- Async cache with dedupe support☆697Updated this week
- Brittle TAP test framework☆102Feb 27, 2026Updated last week
- ☆530Oct 22, 2024Updated last year
- Publish JS project as dual ES modules and CommonJS package to npm☆186Feb 25, 2026Updated last week
- The spec-compliant minimum of client-side GraphQL.☆104Dec 9, 2025Updated 2 months ago
- A GitHub test reporter for the Node.js test runner☆30Updated this week
- Promise.witResolvers() polyfill.☆32Jun 19, 2023Updated 2 years ago
- Removing configuration files and fields in package.json before publishing to npm☆329Feb 25, 2026Updated last week
- Like `Promise.all()` but for `Map` and `Object`☆200Sep 21, 2025Updated 5 months ago
- A debug comment -> debugment☆92Jun 25, 2019Updated 6 years ago
- A convention testing framework for JavaScript/TypeScript.☆21Jan 7, 2023Updated 3 years ago