# @peculiar/asn1-csr

> ASN.1 schema for PKCS #10 certificate signing requests defined in RFC 2986.

Latest version **2.9.4** (published 2026-08-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @peculiar/asn1-csr
pnpm add @peculiar/asn1-csr
yarn add @peculiar/asn1-csr
bun add @peculiar/asn1-csr
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.9.4 |
| Published | 2026-08-20 |
| First published | 2020-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=14 |
| Dependencies | 4 |
| Unpacked size | 12.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 45 |
| Author | PeculiarVentures, LLC |
| Maintainers | rmhrisk, microshine, yury.strozhevsky, peculiarventures, apilguk, donskov, worldthirteen |
| Keywords | asn, asn1, csr, pkcs10, certificate-request, rfc2986 |

## Links

- npm: https://www.npmjs.com/package/@peculiar/asn1-csr
- Repository: https://github.com/PeculiarVentures/asn1-schema
- Homepage: https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/csr#readme
- Issues: https://github.com/PeculiarVentures/asn1-schema/issues
- npm.io page: https://npm.io/package/@peculiar/asn1-csr

## Dependencies (4)

- [tslib](https://npm.io/package/tslib.md) ^2.8.1
- [asn1js](https://npm.io/package/asn1js.md) ^3.0.10
- [@peculiar/asn1-x509](https://npm.io/package/@peculiar/asn1-x509.md) ^2.9.4
- [@peculiar/asn1-schema](https://npm.io/package/@peculiar/asn1-schema.md) ^2.9.4

## Recent versions

- 2.9.4 (latest) — 2026-08-20
- 2.9.3 — 2026-08-18
- 2.9.2 — 2026-08-18
- 2.9.0 — 2026-08-14
- 2.8.0 — 2026-06-11
- 2.7.0 — 2026-05-01
- 2.6.1 — 2026-02-12
- 2.6.0 — 2025-11-16
- 2.5.0 — 2025-09-08
- 2.4.0 — 2025-07-16
- 2.3.15 — 2024-12-23
- 2.3.13 — 2024-08-01
- 2.3.8 — 2023-10-17
- 2.3.6 — 2023-03-13
- 2.3.5 — 2023-03-13
- … 41 more at https://npm.io/package/@peculiar/asn1-csr/versions

## README

# `@peculiar/asn1-csr`

[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/PeculiarVentures/asn1-schema/blob/master/packages/csr/LICENSE)
[![npm version](https://badge.fury.io/js/%40peculiar%2Fasn1-csr.svg)](https://badge.fury.io/js/%40peculiar%2Fasn1-csr)

[![NPM](https://nodei.co/npm/@peculiar/asn1-csr.png)](https://nodei.co/npm/@peculiar/asn1-csr/)

ASN.1 schema for PKCS #10 certificate signing requests defined in RFC 2986.

Use the exported classes with `@peculiar/asn1-schema` helpers such as `AsnConvert`, `AsnParser`, and `AsnSerializer` to parse or serialize DER-encoded data defined by the referenced specification.

## Installation

```bash
npm install @peculiar/asn1-csr
```

## Specifications

- [RFC 2986: PKCS #10 Certification Request Syntax Specification](https://datatracker.ietf.org/doc/html/rfc2986)

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