Gathering detailed insights and metrics for @types/replacestream
Gathering detailed insights and metrics for @types/replacestream
Gathering detailed insights and metrics for @types/replacestream
Gathering detailed insights and metrics for @types/replacestream
The repository for high quality TypeScript type definitions.
npm install @types/replacestream
Typescript
Module System
100
Supply Chain
86.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,028 Stars
89,737 Commits
30,433 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 13, 2025
Latest Version
4.0.4
Package Id
@types/replacestream@4.0.4
Unpacked Size
5.50 kB
Size
2.02 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/replacestream
This package contains type definitions for replacestream (https://github.com/eugeneware/replacestream#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/replacestream.
1declare namespace ReplaceStream { 2 interface Options { 3 /** 4 * Sets a limit on the number of times the replacement will be made. This 5 * is forced to one when a regex without the global flag is provided. 6 * 7 * Default: `Infinity` 8 */ 9 limit?: number | undefined; 10 /** 11 * The text encoding used during search and replace. 12 * 13 * Default: `"utf8"` 14 */ 15 encoding?: string | undefined; 16 /** 17 * When doing cross-chunk replacing, this sets the maximum length match 18 * that will be supported. 19 * 20 * Default: `100` 21 */ 22 maxMatchLen?: number | undefined; 23 /** 24 * When doing string match (not relevant for regex matching) whether to do a 25 * case insensitive search. 26 * 27 * Default: `true` 28 */ 29 ignoreCase?: boolean | undefined; 30 /** 31 * When provided, these flags will be used when creating the search regexes 32 * internally. 33 * 34 * @deprecated as the flags set on the regex provided are no longer mutated 35 * if this is not provided. 36 */ 37 regExpOptions?: string | undefined; 38 } 39 40 type ReplaceFunction = (match: string, p1: string, offset: number, string: string) => string; 41} 42 43declare function ReplaceStream( 44 search: RegExp | string, 45 replace: ReplaceStream.ReplaceFunction | string, 46 options?: ReplaceStream.Options, 47): any; 48 49export = ReplaceStream; 50
These definitions were written by Piotr Roszatycki.
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