UNPKG

testcontainers

Version:

Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container

11 lines 421 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.hash = hash; const crypto_1 = __importDefault(require("crypto")); function hash(str) { return crypto_1.default.createHash("sha256").update(str).digest("hex"); } //# sourceMappingURL=hash.js.map