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 7 months ago
- Simplifying the use of mocks with Node.js☆1,099Aug 16, 2023Updated 2 years ago
- HTTP server mocking and expectations library for Node.js☆13,090Mar 20, 2026Updated last week
- Easy monkey-patching for node.js unit tests☆3,093Dec 11, 2025Updated 3 months ago
- Configurable mock for the fs module☆920Mar 1, 2026Updated 3 weeks ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click and start building anything your business needs.
- Compare strings line by line.☆11Feb 14, 2025Updated last year
- Test spies, stubs and mocks for JavaScript.☆9,761Mar 16, 2026Updated last week
- Creates super long stack traces☆196Oct 23, 2024Updated last year
- Node.js test runner that lets you develop with confidence 🚀☆20,855Mar 3, 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☆16Nov 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,531Sep 30, 2025Updated 5 months ago
- Distributed map and filter☆33Nov 3, 2016Updated 9 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Tomorrow's ECMAScript modules today!☆5,251Apr 10, 2024Updated last year
- Fake setTimeout and friends (collectively known as "timers"). Useful in your JavaScript tests. Extracted from Sinon.JS☆858Updated this week
- Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently a…☆8,677Dec 8, 2024Updated last year
- the Istanbul command line interface☆5,754Feb 23, 2026Updated last month
- Intercept and mock outgoing Node.js network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.In…☆658Aug 26, 2024Updated last year
- Process execution for humans☆7,469Jan 29, 2026Updated last month
- HTTP-friendly error objects☆2,925Oct 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
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- Distributed reduce on top of hypercore☆17Nov 5, 2016Updated 9 years ago
- Promisify a callback-style function☆1,512Sep 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,964Mar 14, 2026Updated last week
- 🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, …☆14,332Feb 28, 2026Updated 3 weeks 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 4 years ago
- Proxyquire in Node and Proxyquireify in the browser with no code changes☆35Apr 21, 2022Updated 3 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting with the flexibility to host WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Cloudways by DigitalOcean.
- Run your npm scripts more efficiently☆13Apr 28, 2015Updated 10 years ago
- Displays the execution time for Node.js modules loading by hooking require() calls☆254Jun 12, 2017Updated 8 years ago
- Simple exponential backoff module☆25Sep 1, 2017Updated 8 years ago
- etagify is connect middleware to add ETag headers to cachable but non-static content.☆49Mar 30, 2012Updated 13 years ago
- Update notifications for your CLI app☆1,793Dec 7, 2024Updated last year
- Get the dependencies of an ES6 module by traversing its AST☆36Mar 11, 2026Updated 2 weeks ago
- 🌲 super fast, all natural json logger☆17,539Mar 18, 2026Updated last week