recursive-proxy-mock
Create a proxy which can mock any object, function, class, etc. with infinite depth and combinations. (by CreativeTechGuy)
kcd-scripts
CLI toolbox for common scripts for my projects (by kentcdodds)
Our great sponsors
recursive-proxy-mock | kcd-scripts | |
---|---|---|
4 | 2 | |
8 | 881 | |
- | - | |
0.0 | 4.7 | |
over 1 year ago | about 2 months ago | |
TypeScript | JavaScript | |
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.
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?
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?
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
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?
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
kcd-scripts
Posts with mentions or reviews of kcd-scripts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-29.
-
React component library with hooks, translation, etc.
preconstruct: https://preconstruct.tools/ kcd-scripts:https://github.com/kentcdodds/kcd-scripts
-
How are you bundling a React Component Library?
preconstruct: https://www.reddit.com/r/reactjs/comments/reqfpi/how\_are\_you\_bundling\_a\_react\_component\_library/ kcd-scripts: https://github.com/kentcdodds/kcd-scripts
What are some alternatives?
When comparing recursive-proxy-mock and kcd-scripts you can also consider the following projects:
nosx
create-react-library - CLI for creating reusable react libraries.
tsdx - Zero-config CLI for TypeScript package development
patch-package - Fix broken node modules instantly 🏃🏽♀️💨
nx - Smart Monorepos · Fast CI
deepsignal
turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]
vite - Next generation frontend tooling. It's fast!
create-react-app - Set up a modern web app by running one command.
recursive-proxy-mock vs nosx
kcd-scripts vs create-react-library
recursive-proxy-mock vs tsdx
kcd-scripts vs patch-package
recursive-proxy-mock vs patch-package
kcd-scripts vs nx
kcd-scripts vs deepsignal
kcd-scripts vs turborepo
kcd-scripts vs vite
kcd-scripts vs create-react-app
kcd-scripts vs tsdx