Gathering detailed insights and metrics for @types/react-async-script
Gathering detailed insights and metrics for @types/react-async-script
Gathering detailed insights and metrics for @types/react-async-script
Gathering detailed insights and metrics for @types/react-async-script
The repository for high quality TypeScript type definitions.
npm install @types/react-async-script
Typescript
Module System
77.4
Supply Chain
76.8
Quality
75.3
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
726,898
Last Day
161
Last Week
4,078
Last Month
17,123
Last Year
189,919
NOASSERTION License
49,981 Stars
89,647 Commits
30,431 Forks
641 Watchers
7 Branches
9,958 Contributors
Updated on Jul 01, 2025
Latest Version
1.2.5
Package Id
@types/react-async-script@1.2.5
Unpacked Size
4.36 kB
Size
1.85 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
27.8%
161
Compared to previous day
Last Week
-3.2%
4,078
Compared to previous week
Last Month
-2%
17,123
Compared to previous month
Last Year
-1.3%
189,919
Compared to previous year
npm install --save @types/react-async-script
This package contains type definitions for react-async-script (https://github.com/dozoisch/react-async-script).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-async-script.
1import * as React from "react"; 2import hoistNonReactStatics = require("hoist-non-react-statics"); 3 4interface Options { 5 attributes?: { [key: string]: string } | undefined; 6 callbackName?: string | undefined; 7 globalName?: string | undefined; 8 removeOnUnmount?: boolean | undefined; 9 scriptId?: string | undefined; 10} 11 12/** 13 * The Higher order Component function 14 * 15 * @param url 16 * @param options 17 */ 18declare function makeAsyncScript( 19 url: string, 20 options?: Options, 21): <P>( 22 Component: React.ComponentType<P>, 23) => React.ComponentType< 24 & P 25 & hoistNonReactStatics.NonReactStatics<React.ComponentType<any>> 26 & { 27 asyncScriptOnLoad?: (() => void) | undefined; 28 } 29>; 30 31export = makeAsyncScript; 32
These definitions were written by Michalis Zachariadis.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 25/29 approved changesets -- score normalized to 8
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-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