Simple, intuitive mocking of Node.js modules.
☆458Mar 15, 2021Updated 5 years ago
Alternatives and similar repositories for mock-require
Users that are interested in mock-require are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- 🔮 Proxies nodejs require in order to allow overriding dependencies during testing.☆2,748Aug 13, 2025Updated 10 months ago
- Simplifying the use of mocks with Node.js☆1,098Aug 16, 2023Updated 2 years ago
- HTTP server mocking and expectations library for Node.js☆13,105Updated this week
- Easy monkey-patching for node.js unit tests☆3,094Dec 11, 2025Updated 6 months ago
- Configurable mock for the fs module☆918Mar 1, 2026Updated 3 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Compare strings line by line.☆11Feb 14, 2025Updated last year
- Test spies, stubs and mocks for JavaScript.☆9,755Jun 4, 2026Updated last week
- Creates super long stack traces☆196Oct 23, 2024Updated last year
- Node.js test runner that lets you develop with confidence 🚀☆20,848May 17, 2026Updated 3 weeks ago
- Parallel test runner for mocha tests. Looking for maintainer.☆197Jan 4, 2023Updated 3 years ago
- 🔧 Use native v8 inspector to generate coverage reports☆17Nov 2, 2020Updated 5 years ago
- [DEPRECATED] cross-env now supports npm scripts, please use it instead☆10Feb 23, 2024Updated 2 years ago
- 🔥 single-command flamegraph profiling 🔥☆3,547Sep 30, 2025Updated 8 months ago
- Distributed map and filter☆33Nov 3, 2016Updated 9 years ago
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Tomorrow's ECMAScript modules today!☆5,245Apr 10, 2024Updated 2 years ago
- Fake setTimeout and friends (collectively known as "timers"). Useful in your JavaScript tests. Extracted from Sinon.JS☆859May 5, 2026Updated last month
- Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently a…☆8,662Dec 8, 2024Updated last year
- the Istanbul command line interface☆5,764May 17, 2026Updated 3 weeks ago
- Intercept and mock outgoing Node.js network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.In…☆661Aug 26, 2024Updated last year
- Process execution for humans☆7,516Jan 29, 2026Updated 4 months ago
- HTTP-friendly error objects☆2,923Oct 23, 2024Updated last year
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Get namespaced config from the closest package.json☆120Nov 5, 2023Updated 2 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Distributed reduce on top of hypercore☆17Nov 5, 2016Updated 9 years ago
- 🦊 Immediately Open Chrome DevTools when debugging Node.js apps☆325Feb 7, 2022Updated 4 years ago
- Promisify a callback-style function☆1,507Sep 12, 2022Updated 3 years ago
- Enable DOM in Node.js☆478Jun 19, 2020Updated 5 years ago
- ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults☆7,973Updated this week
- 🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, …☆14,365Apr 2, 2026Updated 2 months ago
- browserify >= v2 version of proxyquire. Mocks out browserify's require to allow stubbing out dependencies while testing.☆150Nov 29, 2016Updated 9 years ago
- Uses a breadth-first search, when necessary, to resolve the file path using the correct casing, and verify that the file actually exists.…☆12Sep 1, 2017Updated 8 years ago
- Bash-powered globbing for node.js. Alternative to node-glob. Does not work on Windows 9 and lower.☆14Jun 10, 2021Updated 5 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Proxyquire in Node and Proxyquireify in the browser with no code changes☆35Updated this week
- Run your npm scripts more efficiently☆13Apr 28, 2015Updated 11 years ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆253Jun 12, 2017Updated 9 years ago
- etagify is connect middleware to add ETag headers to cachable but non-static content.☆49Mar 30, 2012Updated 14 years ago
- Update notifications for your CLI app☆1,803Dec 7, 2024Updated last year
- Get the dependencies of an ES6 module by traversing its AST☆36May 31, 2026Updated 2 weeks ago
- 🌲 super fast, all natural json logger☆17,935Updated this week