# mkcert-prebuilt

> An installer for mkcert prebuilt binary

Latest version **1.0.0** (published 2019-01-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install mkcert-prebuilt
pnpm add mkcert-prebuilt
yarn add mkcert-prebuilt
bun add mkcert-prebuilt
```

Provides the command `mkcert`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-01-11 |
| First published | 2019-01-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 8.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 5 |
| Author | Shinnosuke Watanabe |
| Maintainers | shinnn |
| Keywords | mkcert, prebuilt, install, installation, binary, go, golang, native, ca, certificate, development, local, secure, pem, cross-platform |

## Links

- npm: https://www.npmjs.com/package/mkcert-prebuilt
- Repository: https://github.com/shinnn/mkcert-prebuilt
- Homepage: https://github.com/shinnn/mkcert-prebuilt#readme
- Issues: https://github.com/shinnn/mkcert-prebuilt/issues
- npm.io page: https://npm.io/package/mkcert-prebuilt

## Dependencies (4)

- [arch](https://npm.io/package/arch.md) ^2.1.1
- [platform-name](https://npm.io/package/platform-name.md) ^1.0.0
- [load-from-cwd-or-npm](https://npm.io/package/load-from-cwd-or-npm.md) ^3.0.1
- [reject-unsatisfied-npm-version](https://npm.io/package/reject-unsatisfied-npm-version.md) ^1.0.0

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-01-11
- 0.0.1 — 2019-01-10
- 0.0.0 — 2019-01-10

## README

# mkcert-prebuilt

[![npm version](https://img.shields.io/npm/v/mkcert-prebuilt.svg)](https://www.npmjs.com/package/mkcert-prebuilt)
[![Build Status](https://travis-ci.com/shinnn/mkcert-prebuilt.svg?branch=master)](https://travis-ci.com/shinnn/mkcert-prebuilt)
[![codecov](https://codecov.io/gh/shinnn/mkcert-prebuilt/branch/master/graph/badge.svg)](https://codecov.io/gh/shinnn/mkcert-prebuilt)

An [npm package](https://docs.npmjs.com/about-packages-and-modules#about-packages) to install a [mkcert](https://github.com/FiloSottile/mkcert) prebuilt binary

## Installation

[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/about-npm/).

```
npm install mkcert-prebuilt
```

As this package makes use of `install` [npm script](https://docs.npmjs.com/misc/scripts) in order to download a binary for the current platform, [`ignore-scripts` npm-config](https://docs.npmjs.com/misc/config#ignore-scripts) 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`](https://nodejs.org/api/child_process.html) functions.

```javascript
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](https://docs.npmjs.com/misc/scripts#description) of the project.

```json
"create-cert": "mkcert example.org localhost 127.0.0.1 ::1"
```

```console
$ npm run-script create-cert
```

## License

[ISC License](./LICENSE.md) © 2019 Shinnosuke Watanabe

### mkcert

[BSD 3-Clause "New" or "Revised" License](./LICENSE.md#mkcert) © 2018 The mkcert Authors

---
_Source: https://npm.io/package/mkcert-prebuilt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
