{"library":"mkcert-cli","title":"mkcert-cli","description":"mkcert-cli is a Node.js CLI wrapper around the mkcert tool for generating locally trusted HTTPS development certificates, usable outside Vite contexts. Current stable version is 1.5.0, released Apr 2024. It insources logic from vite-plugin-mkcert, removing external dependencies like axios (since v1.4.0) to keep the package small (~20 kB install size). It supports custom output directories, certificate file names, and multiple hostnames, with auto-upgrade of the mkcert binary via the `-u` flag. Compared to using mkcert directly, it simplifies certificate generation via a single npx command without requiring manual installation of the mkcert binary.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install mkcert-cli"],"cli":{"name":"mkcert-cli","version":null}},"imports":["npx mkcert-cli"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npx -y mkcert-cli --outDir ./certs --cert localhost.pem --key localhost.key --host localhost --host my-site.local","lang":"bash","description":"Generates locally trusted HTTPS certificates for custom hosts in a specified output directory with custom file names.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}