
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
mediaserver
Advanced tools
(Tested on IE 6+, FF, Chrome, Mobile Safari - IE/Edge - Chrome and Brave)
npm install mediaserver
Visit sample folder for sample application.
var http = require('http'),
ms = require('mediaserver');
http.createServer(function (req, res) {
ms.pipe(req, res, "music.mp3");
}).listen(1337, '127.0.0.1');
from the client side
<audio controls>
<source src="http://127.0.0.1:1337/" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
app.get('/music.mp3', function(req, res){
ms.pipe(req, res, "/music.mp3");
});
.noCache (true/false) enable/disable caching file stat results (default enabled)
.mediaTypes Dictionary of media types and their corresponding media identifiers (i.e. "mp4" => "video/mpeg")
.pipe(request, response, path, extension or media identifier) pipe a file from file system to browser
MIT
FAQs
Media & static asset streaming for http(s) server
The npm package mediaserver receives a total of 77 weekly downloads. As such, mediaserver popularity was classified as not popular.
We found that mediaserver demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.