Gathering detailed insights and metrics for @types/react-highlight.js
Gathering detailed insights and metrics for @types/react-highlight.js
Gathering detailed insights and metrics for @types/react-highlight.js
Gathering detailed insights and metrics for @types/react-highlight.js
The repository for high quality TypeScript type definitions.
npm install @types/react-highlight.js
Typescript
Module System
65.1
Supply Chain
76.6
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,433 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 12, 2025
Latest Version
1.0.5
Package Id
@types/react-highlight.js@1.0.5
Unpacked Size
4.14 kB
Size
1.78 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
1
npm install --save @types/react-highlight.js
This package contains type definitions for react-highlight.js (https://github.com/bvaughn/react-highlight.js).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-highlight.js.
1import { ComponentClass, ReactNode } from "react"; 2 3/** 4 * Props for a Highlight component. 5 */ 6export interface HighlightProps { 7 /** 8 * Language name to use as a class to signal type to highlight.js. 9 */ 10 language: string; 11 12 /** 13 * Language name to use as a class to signal type to highlight.js. 14 */ 15 className?: string | undefined; 16 17 /** 18 * Inline styles to apply to the rendered <pre> tag. 19 */ 20 style?: React.CSSProperties | undefined; 21 22 /** 23 * Content that will be highlighted 24 */ 25 children?: ReactNode | undefined; 26} 27 28/** 29 * A lightweight React wrapper around the Highlight.js syntax highlighting library. 30 */ 31declare const Highlight: ComponentClass<HighlightProps>; 32 33export default Highlight; 34
These definitions were written by Christian Murphy.
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