Want to see pretty graphs? Log in now!
npm install mine
|579|| downloads in the last day|
|3 749|| downloads in the last week|
|15 714|| downloads in the last month|
The mine script accepts js source and returns all the require call locations as well as the target string. This is a submodule of js-linker.
var mine = require('js-linker/mine.js');
var fs = require('fs');
var code = fs.readFileSync("test.js");
var deps = mine(code);