recursive-proxy-mock VS patch-package

Compare recursive-proxy-mock vs patch-package and see what are their differences.

recursive-proxy-mock

Create a proxy which can mock any object, function, class, etc. with infinite depth and combinations. (by CreativeTechGuy)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
recursive-proxy-mock patch-package
4 65
8 9,953
- -
0.0 6.3
over 1 year ago 10 days ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

recursive-proxy-mock

Posts with mentions or reviews of recursive-proxy-mock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-06.
  • How to include dependent types in library build?
    2 projects | /r/typescript | 6 May 2022
    Let's take a specific example. One of my libraries recursive-proxy-mock is bundled with Rollup. If you take a look at dist/cjs/index.js you can see there is one big file with everything in it, all bundled together. There are named exports for each thing. This can easily have unused code eliminated either via tree shaking or dead code elimination. I've never made a distinction as to which applies in which scenario since both should always be used together. But I guess my point is, a bundled library doesn't need to have any special format which would require a bundlers help to drop dead code.
  • How to setup a project for browser js library in a best way?
    1 project | /r/reactjs | 8 Jan 2022
    If you want to check out my build config for my library that sounds very similar in architecture to yours, feel free: https://github.com/CreativeTechGuy/recursive-proxy-mock
  • Cool examples of using Javascript proxies
    2 projects | /r/webdev | 6 Jan 2022
    Take a look at the recursive-proxy-mock library. The ability to create an object where every property or function "exists" with infinite depth is a really powerful primitive. Not just for providing mock implementations to complex objects for testing, but also for the ability to store and replay operations on another object in the future.
  • How are you bundling a React Component Library?
    9 projects | /r/reactjs | 12 Dec 2021
    If you are just looking for a TS library config (not related to react) then here's a good example I can share: https://github.com/CreativeTechGuy/recursive-proxy-mock/blob/main/rollup.config.js

patch-package

Posts with mentions or reviews of patch-package. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-01.

What are some alternatives?

When comparing recursive-proxy-mock and patch-package you can also consider the following projects:

kcd-scripts - CLI toolbox for common scripts for my projects

husky - Git hooks made easy 🐶 woof!

nosx

node-pre-gyp - Node.js tool for easy binary deployment of C++ addons

tsdx - Zero-config CLI for TypeScript package development

vite - Next generation frontend tooling. It's fast!

vercel - Develop. Preview. Ship.

Faker.js - What really happened with Aaron Swartz?

basic-ftp - FTP client for Node.js, supports FTPS over TLS, passive mode over IPv6, async/await, and Typescript.

Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS

cashify - 💸 Lightweight currency conversion library, successor of money.js

hasha - Hashing made simple. Get the hash of a buffer/string/stream/file.