Gathering detailed insights and metrics for @types/root__asn1
Gathering detailed insights and metrics for @types/root__asn1
Gathering detailed insights and metrics for @types/root__asn1
Gathering detailed insights and metrics for @types/root__asn1
The repository for high quality TypeScript type definitions.
npm install @types/root__asn1
Typescript
Module System
76.6
Supply Chain
83.8
Quality
75.4
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,027 Stars
89,737 Commits
30,434 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 12, 2025
Latest Version
1.0.5
Package Id
@types/root__asn1@1.0.5
Unpacked Size
5.60 kB
Size
1.88 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
npm install --save @types/root__asn1
This package contains type definitions for @root/asn1 (https://git.coolaj86.com/coolaj86/asn1.js).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/root__asn1.
1export {}; 2 3interface Element<V extends string | Uint8Array> { 4 type: number; 5 lengthSize: number; 6 length: number; 7 value?: V | undefined; 8 children?: Array<Element<V>> | undefined; 9} 10 11export type ElementHex = Element<string>; 12 13export type ElementBuffer = Element<Uint8Array>; 14 15export interface ElementInput { 16 type: number; 17 value?: string | Uint8Array | undefined; 18 children?: ElementInput[] | undefined; 19} 20 21export type ArrJson = [string, string | ArrJson[]]; 22 23export type ArrBuffer = [number, Uint8Array | ArrBuffer[]]; 24 25export type ArrInput = [string | number, string | Uint8Array | ArrInput[]]; 26 27export function parseVerbose(buf: Uint8Array, opts?: { json?: false | undefined }): ElementBuffer; 28 29export function parseVerbose(buf: Uint8Array, opts: { json: true }): ElementHex; 30 31export function parse(opts: { der: Uint8Array; verbose?: false | undefined; json?: true | undefined }): ArrJson; 32 33export function parse(opts: { der: Uint8Array; verbose?: false | undefined; json: false }): ArrBuffer; 34 35export function parse(opts: { der: Uint8Array; verbose: true; json?: true | undefined }): ElementHex; 36 37export function parse(opts: { der: Uint8Array; verbose: true; json: false }): ElementBuffer; 38 39export function pack(asn1: ElementInput | ArrInput, opts?: { json?: false | undefined }): Uint8Array; 40 41export function pack(asn1: ElementInput | ArrInput, opts: { json: true }): string; 42 43export function Any(hexType: string | number, ...hexBytes: string[]): string; 44 45export function UInt(hexBigInt: string): string; 46 47export function BitStr(hexBitStream: string): string; 48
These definitions were written by Junxiao Shi.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
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