node-monkey
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -77,3 +77,3 @@ var _ = require('underscore'); | ||
} else if(req.url == '/client.js') { | ||
var clientJS = fs.readFileSync('./client.js'); | ||
var clientJS = fs.readFileSync(__dirname + '/client.js'); | ||
res.end(clientJS); | ||
@@ -107,2 +107,2 @@ } else { | ||
module.exports = new NodeMonkey(); | ||
module.exports = new NodeMonkey(); |
{ | ||
"author": "Justin Warkentin <justin.warkentin@gmail.com>", | ||
"name": "node-monkey", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A Node.js module for inspecting and debugging Node applications through a web browser", | ||
@@ -6,0 +6,0 @@ "keywords": ["inspect objects", "object inspector", "inspect", "debug", "console.log", "object"], |
@@ -1,2 +0,2 @@ | ||
node-monkey | ||
Node Monkey | ||
=========== | ||
@@ -40,2 +40,11 @@ | ||
As an alternative to viewing output through this page, you can also view output in the console of your own web application by including the following lines: | ||
```html | ||
<script type="text/javascript" src="http://0.0.0.0:50500/socket.io/socket.io.js"></script> | ||
<script type="text/javascript" src="http://0.0.0.0:50500/client.js"></script> | ||
``` | ||
**NOTE**: You do NOT have to refresh the page when you restart your Node application to continue to receive output. It will automatically reconnect. | ||
Options | ||
@@ -42,0 +51,0 @@ ------- |
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
12704
9
157
112