Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mumbler

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mumbler - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

lib/interceptor.js

7

lib/index.js
var iof = require('socket.io');
var intercept = require("intercept-stdout")
var intercept = require('./interceptor')
var path = require('path')

@@ -11,5 +11,6 @@ var fs = require('fs')

io.emit('log', txt)
}, function(txt) {
io.emit('log', txt)
}
// , function(txt) {
// io.emit('log', txt)
// }
);

@@ -16,0 +17,0 @@

{
"name": "mumbler",
"version": "0.1.0",
"version": "0.2.0",
"description": "send stdout through socket.io",

@@ -13,3 +13,2 @@ "main": "index.js",

"dependencies": {
"intercept-stdout": "^0.1.2",
"socket.io": "^2.0.3"

@@ -16,0 +15,0 @@ },

@@ -0,4 +1,4 @@

var mumbler = require('../')
var app = require('express')();
var http = require('http').Server(app);
var mumbler = require('../')

@@ -8,2 +8,3 @@ // attach to some endpoint

http.listen(3000, function(){

@@ -14,2 +15,4 @@ 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)
setInterval(function(){
console.log(new Date())
}, 1000)
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