# @types/create-cert

> TypeScript definitions for create-cert

Latest version **1.0.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/create-cert
pnpm add @types/create-cert
yarn add @types/create-cert
bun add @types/create-cert
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2023-11-07 |
| First published | 2021-06-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51484 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/create-cert
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/create-cert
- npm.io page: https://npm.io/package/@types/create-cert

## Dependencies (1)

- [@types/pem](https://npm.io/package/@types/pem.md) *

## Recent versions

- 1.0.4 (latest) — 2023-11-07
- 1.0.2 (ts4.3) — 2023-09-04
- 1.0.1 (ts3.6) — 2021-07-08
- 1.0.3 — 2023-10-18
- 1.0.0 — 2021-06-21

## README

# Installation
> `npm install --save @types/create-cert`

# Summary
This package contains type definitions for create-cert (https://github.com/lukechilds/create-cert).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/create-cert.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/create-cert/index.d.ts)
````ts
import { CertificateCreationOptions } from "pem";

declare function createCert(opts?: createCert.Options | string): Promise<createCert.CertificateData>;

export = createCert;

declare namespace createCert {
    interface Options extends CertificateCreationOptions {
        days?: number | undefined;
        commonName?: string | undefined;
    }

    interface CertificateData {
        key: string;
        cert: string;
        caCert: string;
    }
}

````

### Additional Details
 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
 * Dependencies: [@types/pem](https://npmjs.com/package/@types/pem)

# Credits
These definitions were written by [Chris Midgley](https://github.com/midgleyc).

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