Gathering detailed insights and metrics for @types/line-reader
Gathering detailed insights and metrics for @types/line-reader
Gathering detailed insights and metrics for @types/line-reader
Gathering detailed insights and metrics for @types/line-reader
The repository for high quality TypeScript type definitions.
npm install @types/line-reader
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,054 Stars
89,754 Commits
30,431 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 17, 2025
Latest Version
0.0.37
Package Id
@types/line-reader@0.0.37
Unpacked Size
5.04 kB
Size
1.86 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/line-reader
This package contains type definitions for line-reader (https://github.com/nickewing/line-reader).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/line-reader.
1/// <reference types="node"/> 2 3interface LineReaderOptions { 4 separator?: any; 5 encoding?: string | undefined; 6 bufferSize?: number | undefined; 7} 8 9interface Reader { 10 hasNextLine(): boolean; 11 nextLine(cb: (err: Error, line?: string) => void): void; 12 close(cb: (err: Error) => void): void; 13 isOpen(): boolean; 14 isClosed(): boolean; 15 getReadStream(): NodeJS.ReadableStream; 16} 17 18interface LineReader { 19 open(): Function; 20 open( 21 file: string | NodeJS.ReadableStream, 22 options: LineReaderOptions, 23 cb: (err: Error, reader: Reader) => void, 24 ): void; 25 open(file: string | NodeJS.ReadableStream, cb: (err: Error, reader: Reader) => void): void; 26 27 eachLine(): Function; // For Promise.promisify; 28 eachLine( 29 file: string | NodeJS.ReadableStream, 30 options: LineReaderOptions, 31 cb: (line: string, last: boolean, continueCb?: Function) => void, 32 errCb?: (err?: Error) => void, 33 ): LineReader; 34 eachLine( 35 file: string | NodeJS.ReadableStream, 36 cb: (line: string, last: boolean, continueCb?: Function) => void, 37 errCb?: (err?: Error) => void, 38 ): LineReader; 39} 40 41declare module "line-reader" { 42 var lr: LineReader; 43 export = lr; 44} 45
These definitions were written by Sam Saint-Pettersen.
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-14
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