Gathering detailed insights and metrics for @peculiar/asn1-ecc
Gathering detailed insights and metrics for @peculiar/asn1-ecc
Gathering detailed insights and metrics for @peculiar/asn1-ecc
Gathering detailed insights and metrics for @peculiar/asn1-ecc
asn1-schema is a collection of TypeScript schemas that make working with common ASN.1 objects easy
npm install @peculiar/asn1-ecc
Typescript
Module System
Node Version
NPM Version
99.4
Supply Chain
72
Quality
84.4
Maintenance
100
Vulnerability
100
License
TypeScript (99.91%)
JavaScript (0.09%)
Total Downloads
19,118,906
Last Day
18,037
Last Week
304,753
Last Month
1,350,399
Last Year
12,425,403
39 Stars
386 Commits
10 Forks
6 Watchers
4 Branches
7 Contributors
Updated on Jun 02, 2025
Minified
Minified + Gzipped
Latest Version
2.3.15
Package Id
@peculiar/asn1-ecc@2.3.15
Unpacked Size
26.95 kB
Size
5.61 kB
File Count
24
NPM Version
lerna/8.1.9/node@v20.17.0+x64 (darwin)
Node Version
20.17.0
Published on
Dec 23, 2024
Cumulative downloads
Total Downloads
Last Day
0.4%
18,037
Compared to previous day
Last Week
-3.7%
304,753
Compared to previous week
Last Month
-2.1%
1,350,399
Compared to previous month
Last Year
142%
12,425,403
Compared to previous year
4
asn1-schema
asn1-schema
is a collection of TypeScript schemas that make working with common ASN.1 objects easy.
1import { AsnParser } from "@peculiar/asn1-schema"; 2import { Certificate } from "@peculiar/asn1-x509"; 3 4const pem = "MIIFjjCCBHagAwIBAgIMVcQBzZcO9v+nopB ... HCiLvXBWEiC6qLVM2dKZ/Ab8Xv+/3Q=="; 5const cert = AsnParser.parse(Buffer.from(pem, "base64"), Certificate); 6 7console.log(cert);
Output
Certificate {
tbsCertificate: TBSCertificate {
version: 2,
serialNumber: ArrayBuffer {
[Uint8Contents]: <55 c4 01 cd 97 0e f6 ff a7 a2 90 7e>,
byteLength: 12
},
signature: AlgorithmIdentifier {
algorithm: '1.2.840.113549.1.1.11',
parameters: null
},
issuer: Name { rdnSequence: [RDNSequence] },
validity: Validity { notBefore: [Time], notAfter: [Time] },
subject: Name { rdnSequence: [RDNSequence] },
subjectPublicKeyInfo: SubjectPublicKeyInfo {
algorithm: [AlgorithmIdentifier],
subjectPublicKey: [ArrayBuffer]
},
extensions: [
[Extension], [Extension],
[Extension], [Extension],
[Extension], [Extension],
[Extension], [Extension],
[Extension], [Extension]
]
},
signatureAlgorithm: AlgorithmIdentifier {
algorithm: '1.2.840.113549.1.1.11',
parameters: null
},
signatureValue: ArrayBuffer {
[Uint8Contents]: <ab 39 6f 0d a3 67 ac bf 9d 9d 20 75 da 14 ba fd 91 c5 f5 34 db d4 17 a0 88 ec 6f d5 bd 1d d3 31 df b9 f8 85 5a b0 42 02 f6 74 3f d1 35 fa 38 cb 7e 22 09 73 6d f1 b1 b6 95 c9 49 95 a1 b1 0f 80 21 d5 e6 52 02 ee ef bd 41 31 85 d1 1e 21 58 58 74 ab a6 67 ca d6 28 39 ad ca 3e 43 be ad 0e 71 85 63 1e 67 ... 156 more bytes>,
byteLength: 256
}
}
yarn run create <name>
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
7 existing vulnerabilities detected
Details
Reason
Found 2/14 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More