Let's say I want to use parse-json
for debugging purporses only in a codebase with a lot of JSON.parse
calls. Instead of changing my code, I could just preload parse-json
like:
node -r parse-json/register index.mjs
then, every call on JSON.parse
in my code will use parse-json
instead. This will impact the code on node_modules
as well, of course.
What do you think?
An example of this would be https://github.com/bahmutov/time-stats#install-and-use
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too