/home/techb158/balavpn.abdallabala.com/node_modules/eslint/lib/cli-engine
NameSizeModeActions
formatters/-0777rm
cli-engine.js336380666editdlrm
file-enumerator.js166510666editdlrm
hash.js10570666editdlrm
index.js970666editdlrm
lint-result-cache.js72330666editdlrm
load-rules.js12970666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/eslint/lib/cli-engine/hash.js (1057B)
/** * @fileoverview Defining the hashing function in one place. * @author Michael Ficarra */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const murmur = require("imurmurhash"); //------------------------------------------------------------------------------ // Helpers //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ // Private //------------------------------------------------------------------------------ /** * hash the given string * @param {string} str the string to hash * @returns {string} the hash */ function hash(str) { return murmur(str).result().toString(36); } //------------------------------------------------------------------------------ // Public Interface //------------------------------------------------------------------------------ module.exports = hash;