Gathering detailed insights and metrics for monitor-head-stream
Gathering detailed insights and metrics for monitor-head-stream
Gathering detailed insights and metrics for monitor-head-stream
Gathering detailed insights and metrics for monitor-head-stream
npm install monitor-head-stream
Typescript
Module System
Min. Node Version
Node Version
NPM Version
66.4
Supply Chain
74.3
Quality
73.2
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
1,376
Last Day
1
Last Week
4
Last Month
12
Last Year
92
7 Stars
9 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Dec 24, 2020
Minified
Minified + Gzipped
Latest Version
0.1.2
Package Id
monitor-head-stream@0.1.2
Size
58.23 kB
NPM Version
4.0.3
Node Version
6.3.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
33.3%
4
Compared to previous week
Last Month
33.3%
12
Compared to previous month
Last Year
-22.7%
92
Compared to previous year
monitor-head-stream
💦 Monitor the head of a stream
This module polls streams of objects for their latest item(s).
It's sort of like tail -f
for Stream
s, but acts upon the head of the stream.
It was created in order to help implement small-scale firehoses.
1import { TimelineStream } from 'scrape-twitter' 2import JSONStream from 'JSONStream' 3import pump from 'pump' 4 5import monitorHeadStream from 'monitor-head-stream' 6 7const createStream = () => new TimelineStream('POTUS') 8const indexBy = obj => obj.id 9const skipWhenPinned = obj => obj.isPinned === true 10 11pump( 12 monitorHeadStream(createStream, indexBy, skipWhenPinned), 13 JSONStream.stringify('[\n', ',\n', '\n]\n'), 14 process.stdout 15)
With yarn
:
1yarn add monitor-head-stream
With npm
:
1npm install --save monitor-head-stream
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/9 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
81 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
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