stylelint
Version:
A mighty CSS linter that helps you avoid errors and enforce conventions.
17 lines (13 loc) • 403 B
JavaScript
// NOTICE: This file is generated by Rollup. To modify it,
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
;
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;