Hacker GitHub

← All repos

browserify/detective

View on GitHub ↗ ★ 414 JavaScript

Find all calls to require() no matter how deeply nested using a proper walk of the AST

3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2011-07-07 · latest 2016-08-08

Mentions per year 3 mentions · busiest year 2011 (1)
20082026
  1. …in a couple of my personal projects to find all require statements. Relevant issue on Detective: https://github.com/substack/node-detective/issues/8
    comment by concise_unicorn · 2016-08-08 · in Show HN: Auto install npm dependencies as you code
  2. …all, just ignore require() statements that don't contain strings when you walk the AST, like this: https://github.com/substack/node-detective Inventing more syntax instead of just adopting a far better module system that has seen actual…
    comment by substack · 2012-02-11 · in The Future of JavaScript
  3. Oh I forgot to mention in the article, but I'm also using burrito for node-detective ( https://github.com/substack/node-detective ) to find all the require()s in a javascript file. Using detective made browserify (…
    comment by substack · 2011-07-07 · in Javascript AST trickery with burrito