first commit
This commit is contained in:
16
node_modules/stylelint/lib/utils/hash.cjs
generated
vendored
Normal file
16
node_modules/stylelint/lib/utils/hash.cjs
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// NOTICE: This file is generated by Rollup. To modify it,
|
||||
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
|
||||
'use strict';
|
||||
|
||||
const MurmurHash3 = require('imurmurhash');
|
||||
|
||||
/**
|
||||
* hash the given string
|
||||
* @param {string} str the string to hash
|
||||
* @returns {string} the hash
|
||||
*/
|
||||
function hash(str) {
|
||||
return MurmurHash3(str).result().toString(36);
|
||||
}
|
||||
|
||||
module.exports = hash;
|
||||
Reference in New Issue
Block a user