node-care
v1.0.5
Published
node-care client
Downloads
6
Maintainers
Readme
node-care
Deploy, debug and analyze your Node.JS processes performance remotely from the public or private cloud. Analyze memory heap diffs and dumps. Profile the Node.JS processes memory and cpu. Find memory leaks. Deploy with ease, git pull remotely, npm install/update remotely. Organize your Node.JS cluster visually.
Install
$ npm install --save node-care
Usage
// Standalone - Port example
require('node-care').token('<YOUR_TOKEN>').bind(4000);
// Using the native http module
var http = require('http');
var server = http.createServer();
require('node-care').token('<YOUR_TOKEN>').bind(server);
server.listen(3000);
// Using the Express Framework
var express = require('express'),
app = express.createServer(),
require('node-care').token('<YOUR_TOKEN>').bind(app);
app.listen(3000)
API
.token(String)
Submit your token to interconnect your node process with the node.care Interface.
.bind(Instance/Port)
Bind node-care yo your public/www listener.