UNPKG

findex

Version:

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

10 lines (8 loc) 208 B
'use strict'; var find = require('..'); // the worker for 'fork.js' process.on('message', function (opts) { find(opts, function (err, indexes) { process.send({ err: err, indexes: indexes }); }); });