hugoWebsite/node_modules/detective/example/strings.js

7 lines
169 B
JavaScript

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