mirror of
https://github.com/rjNemo/federation
synced 2026-06-08 19:26:40 +00:00
11 lines
No EOL
359 B
JavaScript
11 lines
No EOL
359 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const isNodeLike_1 = require("./isNodeLike");
|
|
function createHash(kind) {
|
|
if (isNodeLike_1.isNodeLike) {
|
|
return module.require("crypto").createHash(kind);
|
|
}
|
|
return require("sha.js")(kind);
|
|
}
|
|
exports.createHash = createHash;
|
|
//# sourceMappingURL=createHash.js.map
|