Simple, intuitive mocking of Node.js modules.
☆458Mar 15, 2021Updated 4 years ago
Alternatives and similar repositories for mock-require
Users that are interested in mock-require are comparing it to the libraries listed below
Sorting:
- Simplifying the use of mocks with Node.js☆1,099Aug 16, 2023Updated 2 years ago
- 🔮 Proxies nodejs require in order to allow overriding dependencies during testing.☆2,746Aug 13, 2025Updated 6 months ago
- Easy monkey-patching for node.js unit tests☆3,093Dec 11, 2025Updated 2 months ago
- HTTP server mocking and expectations library for Node.js☆13,082Feb 27, 2026Updated last week
- Configurable mock for the fs module☆920Updated this week
- Compare strings line by line.☆11Feb 14, 2025Updated last year
- Test spies, stubs and mocks for JavaScript.☆9,764Updated this week
- the Istanbul command line interface☆5,751Feb 23, 2026Updated last week
- 🔥 single-command flamegraph profiling 🔥☆3,530Sep 30, 2025Updated 5 months ago
- HTTP-friendly error objects☆2,930Oct 23, 2024Updated last year
- Node.js test runner that lets you develop with confidence 🚀☆20,853Feb 27, 2026Updated last week
- Creates super long stack traces☆196Oct 23, 2024Updated last year
- Process execution for humans☆7,449Jan 29, 2026Updated last month
- Fake setTimeout and friends (collectively known as "timers"). Useful in your JavaScript tests. Extracted from Sinon.JS☆856Updated this week
- Get namespaced config from the closest package.json☆121Nov 5, 2023Updated 2 years ago
- Tomorrow's ECMAScript modules today!☆5,253Apr 10, 2024Updated last year
- Displays the execution time for Node.js modules loading by hooking require() calls☆253Jun 12, 2017Updated 8 years ago
- Promisify a callback-style function☆1,514Sep 12, 2022Updated 3 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- 🔧 Use native v8 inspector to generate coverage reports☆16Nov 2, 2020Updated 5 years ago
- Itty bitty little widdle twinkie pinkie ES2015 Promise implementation☆138Aug 20, 2018Updated 7 years ago
- 🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, …☆14,327Feb 28, 2026Updated last week
- Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently a…☆8,679Dec 8, 2024Updated last year
- Parse your json safely and stop writing try {} catch {}☆15May 10, 2021Updated 4 years ago
- Distributed map and filter☆33Nov 3, 2016Updated 9 years ago
- 🦊 Immediately Open Chrome DevTools when debugging Node.js apps☆325Feb 7, 2022Updated 4 years ago
- Enable DOM in Node.js☆478Jun 19, 2020Updated 5 years ago
- lcov posting to coveralls.io☆1,065Jan 5, 2026Updated 2 months ago
- ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults☆7,951Feb 10, 2026Updated 3 weeks ago
- A CLI tool to run multiple npm-scripts in parallel or sequential.☆5,843Aug 15, 2024Updated last year
- A better `npm publish`☆7,685Jan 29, 2026Updated last month
- 🔀 Cross platform setting of environment scripts☆6,535Nov 16, 2025Updated 3 months ago
- Mock http requests made using fetch☆1,309Feb 28, 2026Updated last week
- Generic resource pooling for node.js☆2,409Mar 8, 2024Updated last year
- [DEPRECATED] cross-env now supports npm scripts, please use it instead☆10Feb 23, 2024Updated 2 years ago
- minify javascript in a stream using uglify-js (ES5) or terser (ES6+)☆27Apr 29, 2021Updated 4 years ago
- Distributed reduce on top of hypercore☆17Nov 5, 2016Updated 9 years ago
- yargs the modern, pirate-themed successor to optimist.☆11,447Feb 28, 2026Updated last week
- Intercept and mock outgoing Node.js network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.In…☆657Aug 26, 2024Updated last year