Socket
Socket
Sign inDemoInstall

m3u8stream

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m3u8stream - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

6

dist/index.d.ts

@@ -25,4 +25,8 @@ /// <reference types="node" />

}
interface m3u8stream {
(playlistURL: string, options?: m3u8stream.Options): Stream;
parseTimestamp(time: number | string): number;
}
}
declare let m3u8stream: (playlistURL: string, options?: m3u8stream.Options) => m3u8stream.Stream;
declare let m3u8stream: m3u8stream.m3u8stream;
export = m3u8stream;

5

dist/index.js

@@ -16,3 +16,3 @@ "use strict";

};
let m3u8stream = (playlistURL, options = {}) => {
let m3u8stream = ((playlistURL, options = {}) => {
const stream = new stream_1.PassThrough();

@@ -179,4 +179,5 @@ const chunkReadahead = options.chunkReadahead || 3;

return stream;
};
});
m3u8stream.parseTimestamp = parse_time_1.humanStr;
module.exports = m3u8stream;
//# sourceMappingURL=index.js.map

@@ -13,3 +13,3 @@ {

],
"version": "0.8.2",
"version": "0.8.3",
"repository": {

@@ -16,0 +16,0 @@ "type": "git",

@@ -56,2 +56,10 @@ # node-m3u8stream

### m3u8stream.parseTimestamp(time)
Converts human friendly time to milliseconds. Supports the format
00:00:00.000 for hours, minutes, seconds, and milliseconds respectively.
And 0ms, 0s, 0m, 0h, and together 1m1s.
* `time` - A string (or number) giving the user-readable input data
### Limitations

@@ -58,0 +66,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc