Gathering detailed insights and metrics for @eyevinn/m3u8
Gathering detailed insights and metrics for @eyevinn/m3u8
Gathering detailed insights and metrics for @eyevinn/m3u8
Gathering detailed insights and metrics for @eyevinn/m3u8
npm install @eyevinn/m3u8
Typescript
Module System
Node Version
NPM Version
73.6
Supply Chain
81.7
Quality
87.8
Maintenance
100
Vulnerability
100
License
JavaScript (99.62%)
Makefile (0.38%)
Total Downloads
87,642
Last Day
2
Last Week
95
Last Month
2,668
Last Year
19,690
5 Stars
148 Commits
7 Forks
2 Watching
16 Branches
25 Contributors
Minified
Minified + Gzipped
Latest Version
0.5.8
Package Id
@eyevinn/m3u8@0.5.8
Unpacked Size
70.70 kB
Size
14.91 kB
File Count
26
NPM Version
6.14.16
Node Version
12.22.12
Publised On
28 Nov 2024
Cumulative downloads
Total Downloads
Last day
-96.9%
2
Compared to previous day
Last week
-58%
95
Compared to previous week
Last month
-60.1%
2,668
Compared to previous month
Last year
-35.7%
19,690
Compared to previous year
1
node-m3u8 is a streaming m3u8 parser tailored for dealing with Apple's HTTP Live Streaming protocol. It may work for other m3u files, but I have not tested it for those uses.
1var m3u8 = require('m3u8'); 2var fs = require('fs'); 3 4var parser = m3u8.createStream(); 5var file = fs.createReadStream('/path/to/file.m3u8'); 6file.pipe(parser); 7 8parser.on('item', function(item) { 9 // emits PlaylistItem, MediaItem, StreamItem, and IframeStreamItem 10}); 11parser.on('m3u', function(m3u) { 12 // fully parsed m3u file 13});
All items and the m3u object have toString()
methods for conversion to m3u8.
Attributes and properties have getter/setters on m3u and item objects:
parser.on('item', function(item) {
var duration = item.get('bandwidth');
item.set('uri', 'http://example.com/' + item.get('uri'));
});
The M3U and Item objects are available on m3u8:
var m3u8 = require('m3u8');
var m3u = m3u8.M3U.create();
m3u.addPlaylistItem({
duration : 10,
uri : 'file'
});
See tests for more usage patterns.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
Reason
Found 4/25 approved changesets -- score normalized to 1
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-12-23
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