Comparing version 0.1.0 to 0.2.0
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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24002
1
10
93
- Removedintercept-stdout@^0.1.2
- Removedintercept-stdout@0.1.2(transitive)
- Removedlodash._arraycopy@3.0.0(transitive)
- Removedlodash._basevalues@3.0.0(transitive)
- Removedlodash._getnative@3.9.1(transitive)
- Removedlodash.isarguments@3.1.0(transitive)
- Removedlodash.isarray@3.0.4(transitive)
- Removedlodash.keys@3.1.2(transitive)
- Removedlodash.toarray@3.0.2(transitive)