New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mkcert-prebuilt

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mkcert-prebuilt

An installer for mkcert prebuilt binary

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
15
Maintainers
1
Weekly downloads
 
Created
Source

mkcert-prebuilt

npm version Build Status codecov

An npm package to install a mkcert prebuilt binary

Installation

Use npm.

npm install mkcert-prebuilt

As this package makes use of install npm script in order to download a binary for the current platform, ignore-scripts npm-config cannot be enabled while executing the command above.

API

require('mkcert-prebuilt')

Type: string

An absolute path to the installed mkcert binary, which can be used with child_process functions.

const {spawn} = require('child_process');
const mkcert = require('mkcert-prebuilt');

spawn(mkcert, ['-install']);

CLI

Once this package is installed to the project directory, users can execute mkcert command inside npm scripts of the project.

"create-cert": "mkcert example.org localhost 127.0.0.1 ::1"
$ npm run-script create-cert

License

ISC License © 2019 Shinnosuke Watanabe

mkcert

BSD 3-Clause "New" or "Revised" License © 2018 The mkcert Authors

Keywords

mkcert

FAQs

Package last updated on 11 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts