Nodecert
Nodecert (source, GitHub mirror, npm) is a Node.js module and command-line tool that automatically provisions locally-trusted TLS certificates for your development environment using mkcert.
Install
npm i -g @ind.ie/nodecert
Use
Command-line:
nodecert
JavaScript (Node.js):
require('nodecert')
(Synchronous.)
Certificates
The generated certificates are placed in the ~/.nodecert directory.