UNPKG

blake3

Version:

BLAKE3 hashing for JavaScript: native Node bindings (where available) and WebAssembly

12 lines 355 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.minNodeVersion = 10; /** * @hidden */ exports.getMajorVersion = (version) => { var _a; const [, majorVersion] = /^v([0-9]+)/.exec(version) || []; return (_a = Number(majorVersion)) !== null && _a !== void 0 ? _a : 0; }; //# sourceMappingURL=versions.js.map