proxyquire

Dependency override tool

A tool that allows overriding dependencies in Node.js applications during testing without modifying the original code.

🔮 Proxies nodejs require in order to allow overriding dependencies during testing.

GitHub

3k stars
26 watching
100 forks
Language: JavaScript
last commit: 6 months ago
Linked from 2 awesome lists


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
tj/should.js A test framework agnostic assertion library for JavaScript 2,747
browserify/browserify Enables Node.js-style module loading in the browser 14,614
lukeed/uvu An extremely fast and lightweight test runner for Node.js and the browser 2,978
pmndrs/valtio A library that turns objects into self-aware proxies to simplify managing complex state in React and Vanilla applications. 9,104
ocramius/proxymanager Generates and manages proxies of objects to abstract away complex behavior 4,954
requirejs/requirejs A file and module loader for JavaScript applications 12,951
node-fetch/node-fetch A module that enables a standard HTTP client API on Node.js 8,782
spdy-http2/node-spdy Creates an HTTP/2 and SPDY server in Node.js with support for fallback to regular HTTPS 2,806
codeceptjs/codeceptjs A testing framework for end-to-end testing with WebDriver or other implementations. 4,114
matthewp/haunted A React Hooks API implementation for web components using Lit HTML or HyperHTML. 2,617
nock/nock A library that enables testing and mocking of HTTP requests in Node.js applications 12,738
tj/co Provides a simple and efficient way to write non-blocking code using promises in JavaScript 11,880
sighrobot/jqp A serverless proxy for filtering JSON data using node-jq 12
ava/use-http A React hook for making isomorphic HTTP requests with features like server-side rendering support and built-in caching. 2,315
matthew-andrews/isomorphic-fetch Enables cross-browser compliant use of the Fetch API in Node and browser environments. 6,953