UNPKG

findex

Version:

Indexes locations of functions inside a project by the md5 hash of the function string to find them later.

14 lines (10 loc) 264 B
function foo (a, cc) { // testing one liner var hex = function () { return 'hex'; }; return hex; } // TODO: make this work in non-v8 envs var bar = function ( ) { return 'bar'; }; exports.foo = foo; exports.hex = foo(); exports.bar = bar;