Gathering detailed insights and metrics for @types/replace-ext
Gathering detailed insights and metrics for @types/replace-ext
Gathering detailed insights and metrics for @types/replace-ext
Gathering detailed insights and metrics for @types/replace-ext
The repository for high quality TypeScript type definitions.
npm install @types/replace-ext
Typescript
Module System
79
Supply Chain
60
Quality
75.8
Maintenance
100
Vulnerability
100
License
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Total Downloads
8,713,385
Last Day
1,419
Last Week
7,242
Last Month
33,439
Last Year
410,047
NOASSERTION License
49,530 Stars
89,108 Commits
30,351 Forks
640 Watchers
3 Branches
9,957 Contributors
Updated on Apr 05, 2025
Latest Version
2.0.2
Package Id
@types/replace-ext@2.0.2
Unpacked Size
3.26 kB
Size
1.63 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
8.9%
1,419
Compared to previous day
Last Week
-0.7%
7,242
Compared to previous week
Last Month
17.8%
33,439
Compared to previous month
Last Year
-15.4%
410,047
Compared to previous year
npm install --save @types/replace-ext
This package contains type definitions for replace-ext (https://github.com/wearefractal/replace-ext).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/replace-ext.
1/** 2 * Replaces the extension from path with extension and returns the updated path string. 3 * 4 * Does not replace the extension if path is not a string or is empty. 5 */ 6declare function replaceExt(path: string, extension: string): string; 7 8export = replaceExt; 9
These definitions were written by Deividas Bakanas, and Piotr Błażejewicz.
No vulnerabilities found.
Reason
30 commit(s) and 0 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
license file detected
Details
Reason
Found 25/30 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-03-31
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