UNPKG

@knapsack/https

Version:

Automatically provisions and installs locally-trusted TLS certificates for Node.js https servers (including Express.js, etc.) using mkcert.

18 lines 1.22 kB
"use strict"; /** * Automatically provisions and installs locally-trusted TLS certificates for Node.js® https servers * (including Express.js, etc.) using mkcert. * * Based originally on @small-tech/auto-encrypt-localhost with major modifications */ Object.defineProperty(exports, "__esModule", { value: true }); exports.setupAndGetCert = exports.getSSLCert = exports.settingsPath = exports.preInstallMkCert = void 0; var pre_install_mkcert_1 = require("./lib/pre-install-mkcert"); Object.defineProperty(exports, "preInstallMkCert", { enumerable: true, get: function () { return pre_install_mkcert_1.preInstallMkCert; } }); var constants_1 = require("./constants"); Object.defineProperty(exports, "settingsPath", { enumerable: true, get: function () { return constants_1.settingsPath; } }); var get_ssl_cert_1 = require("./lib/get-ssl-cert"); Object.defineProperty(exports, "getSSLCert", { enumerable: true, get: function () { return get_ssl_cert_1.getSSLCert; } }); var auto_encrypt_localhost_1 = require("./lib/auto-encrypt-localhost"); Object.defineProperty(exports, "setupAndGetCert", { enumerable: true, get: function () { return auto_encrypt_localhost_1.setupAndGetCert; } }); //# sourceMappingURL=index.js.map