UNPKG

siegel

Version:

Web application development ecosystem

7 lines (6 loc) 172 B
import fs from 'fs'; const extractSSL = ({ keyPath, certPath }) => ({ key: fs.readFileSync(keyPath), cert: fs.readFileSync(certPath) }); export default extractSSL;