Gathering detailed insights and metrics for @types/byline
Gathering detailed insights and metrics for @types/byline
Gathering detailed insights and metrics for @types/byline
Gathering detailed insights and metrics for @types/byline
The repository for high quality TypeScript type definitions.
npm install @types/byline
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,062 Stars
89,769 Commits
30,431 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 19, 2025
Latest Version
4.2.36
Package Id
@types/byline@4.2.36
Unpacked Size
4.97 kB
Size
1.90 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/byline
This package contains type definitions for byline (https://github.com/jahewson/node-byline).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/byline.
1/// <reference types="node" /> 2 3import stream = require("stream"); 4declare function bl(): bl.LineStream; 5declare function bl(stream: NodeJS.ReadableStream, options?: bl.LineStreamOptions): bl.LineStream; 6 7declare namespace bl { 8 export interface LineStreamOptions extends stream.TransformOptions { 9 keepEmptyLines?: boolean | undefined; 10 } 11 12 export interface LineStream extends stream.Transform { 13 } 14 15 export interface LineStreamCreatable extends LineStream { 16 new(options?: LineStreamOptions): LineStream; 17 } 18 19 // TODO is it possible to declare static factory functions without name (directly on the module) 20 // 21 // JS: 22 // // convinience API 23 // module.exports = function(readStream, options) { 24 // return module.exports.createStream(readStream, options); 25 // }; 26 // 27 // TS: 28 // ():LineStream; // same as createStream():LineStream 29 // (stream:stream.Stream, options?:LineStreamOptions):LineStream; // same as createStream(stream, options?):LineStream 30 31 export function createStream(): LineStream; 32 export function createStream(stream: NodeJS.ReadableStream, options?: LineStreamOptions): LineStream; 33 34 export var LineStream: LineStreamCreatable; 35} 36 37export = bl; 38
These definitions were written by Stefan Steinhart.
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