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) 171 B
'use strict'; var crypto = require('crypto'); var go = module.exports = function (data) { return crypto .createHash('md5') .update(data) .digest('hex'); };