Gathering detailed insights and metrics for @types/rasha
Gathering detailed insights and metrics for @types/rasha
Gathering detailed insights and metrics for @types/rasha
Gathering detailed insights and metrics for @types/rasha
The repository for high quality TypeScript type definitions.
npm install @types/rasha
Typescript
Module System
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,433 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 12, 2025
Latest Version
1.2.5
Package Id
@types/rasha@1.2.5
Unpacked Size
4.34 kB
Size
1.79 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/rasha
This package contains type definitions for rasha (https://git.coolaj86.com/coolaj86/rasha.js).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rasha.
1export as namespace Rasha; 2 3export interface Jwk { 4 kty: "RSA"; 5 n: string; 6 e: string; 7 d: string; 8 p: string; 9 q: string; 10 dp: string; 11 dq: string; 12 qi: string; 13} 14 15export interface GenerateOptions { 16 format: string; 17 encoding?: string | undefined; 18 modulusLength?: number | undefined; 19 publicExponent?: number | undefined; 20} 21 22export interface ImportOptions { 23 pem: string; 24 public: boolean; 25} 26 27export interface ExportOptions { 28 jwk: Jwk; 29 format: string; 30 public: boolean; 31} 32 33export interface RsaKeys { 34 private: string; 35 public: string; 36} 37 38// Generate RSA KEY 39export function generate(opts: GenerateOptions): Promise<RsaKeys>; 40 41// PEM-to-JWK 42declare function Import(opts: ImportOptions): Promise<Jwk>; 43export { Import as import }; 44 45// JWK-to-PEM 46declare function Export(opts: ExportOptions): Promise<string>; 47export { Export as export }; 48 49// JWK Thumbprint 50export function thumbprint(jwk: Jwk): Promise<any>; 51
These definitions were written by Justin Baroux.
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