
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
send all those console.log through socket.io on any endpoint, you know, just to keep an eye on things...
I built it just to experiment but then I thought someone could benefit from it.
Rememeber: I didn't fully test the package, I got it to work on a simple Express and a Restify one.
This package HAS NOT BEEN THOROUGHLY TESTED, USAGE ON PRODUCTION IS, THEREFORE, NOT RECOMMENDED
The main purpose is just for development as the package does not
enforce any security and it will send any stdout
data to
connected clients on the designated endpoint.
npm install mumbler --save
var mumbler = require('mumbler')
// attach to some endpoint
app.get('/mumbler', mumbler(http));
http.listen(3000, function(){
console.log('Open http://localhost:3000/mumbler on your browser')
});
// spit some output constantly so we can check output
setInterval(function(){console.log(new Date())}, 1000)
Restify usually keeps a reference to the http server instance on
server.server
. Remember, this hasn't been fully tested, I built this
just to check on my own developments and then decided it could be
useful for someone else.
var restify = require('restify')
//crate the http server
var server = restify.createServer(/* some config here */)
server.get('/mumbler', require('mumbler')(server.server))
FAQs
send stdout through socket.io
The npm package mumbler receives a total of 0 weekly downloads. As such, mumbler popularity was classified as not popular.
We found that mumbler 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.