New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mish-tv/m3u8-query-proxy

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mish-tv/m3u8-query-proxy

m3u8-query-proxy is a proxy server that adds a query to the value of a URI.

0.0.5
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@mish-tv/m3u8-query-proxy

npm Build and test coverage license
`@mish-tv/m3u8-query-proxy` is a proxy server that adds a query to the value of a URI.

This is designed to be used to give CDN authentication tokens when playing hls in iOS browsers.

Usage

npm install -g @mish-tv/m3u8-query-proxy@0.0.5
M3U8_ORIGIN="https://cdn.example.com" REMOVE_PATH="/foo" m3u8-query-proxy
curl http://localhost:8080/foo/bar.m3u8?token=baz

If you make a request as shown above, the proxy will request to https://cdn.example.com/bar.m3u8?token=baz.
It will rewrite the response as needed.
Refer to the test to see how to rewrite the response.

FAQs

Package last updated on 04 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts