my-idlers/node_modules/detective/example/strings.js

7 lines
169 B
JavaScript
Raw Normal View History

var detective = require('../');
var fs = require('fs');
var src = fs.readFileSync(__dirname + '/strings_src.js');
var requires = detective(src);
console.dir(requires);