TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: An experimental data-flow analysis tool for JavaScript

95 pointsby mostlystaticover 6 years ago

5 comments

btownover 6 years ago
Blog post on how it works: <a href="http:&#x2F;&#x2F;www.mattzeunert.com&#x2F;2018&#x2F;05&#x2F;27&#x2F;dynamic-dataflow-analysis-for-javascript-how-fromjs-2-works.html" rel="nofollow">http:&#x2F;&#x2F;www.mattzeunert.com&#x2F;2018&#x2F;05&#x2F;27&#x2F;dynamic-dataflow-analy...</a><p>This is really, really neat. Never would have thought that Babel could be used for instrumentation, though after a bit of digging it looks like <a href="https:&#x2F;&#x2F;istanbul.js.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;istanbul.js.org&#x2F;</a> uses a similar trick!<p>Is there a way to integrate this into a local dev environment without needing to run the MITM proxy? (For instance, if you know you&#x27;re loading everything through a single bundle.) Could be a really popular dev tool if so.<p>Also, have you considered using IndexedDB to store the logs client-side, further removing the need for a backend? Storage should be practically unlimited if you have free drive space on desktop Chrome.
评论 #18827400 未加载
hyperdeficitover 6 years ago
Pretty cool little tool. We have a product that is a combination of ASP.NET Razor views, Backbone, jQuery, and more as a result of several different partial transitions of the codebase. Sometimes it is difficult to figure out which framework is setting a given value in the UI, so I&#x27;m going to give this a try and see if it helps out.
namuolover 6 years ago
Amazing! I would love to see something like this integrated into browser devtools. There should be massive perf benefits if you could work directly with the JS VM, for instance.
acconradover 6 years ago
This is very cool! What do you believe to be the prime use cases for this kind of tool?
评论 #18826371 未加载
mshockwaveover 6 years ago
&gt; FromJS shows you were each value in the DOM comes from.<p>I think it&#x27;s &quot;...where each value in the DOM...&quot;
评论 #18826184 未加载