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
101 forks
Language: JavaScript
last commit: 8 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,746
browserify/browserify Enables Node.js-style module loading in the browser 14,621
lukeed/uvu An extremely fast and lightweight test runner for Node.js and the browser 2,979
pmndrs/valtio A library that enables simple management of mutable state in React and vanilla JavaScript applications 9,186
ocramius/proxymanager Generates and manages proxy classes to abstract object behavior 4,956
requirejs/requirejs A file and module loader for JavaScript applications 12,953
node-fetch/node-fetch A module that enables a standard HTTP client API on Node.js 8,807
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,116
matthewp/haunted A React Hooks API implementation for web components using Lit HTML or HyperHTML. 2,620
nock/nock A library that enables testing and mocking of HTTP requests in Node.js applications 12,772
tj/co Provides a simple and efficient way to write non-blocking code using promises in JavaScript 11,895
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,952