toolbag-plugins
A collection of toolbag plugins. This repository is intended to be temporary. Each of these plugins will eventually be published as a standalone module on npm. The following plugins have already been split out:
toolbag-plugin-stats-collector
- Collects runtime data for things like CPU, memory, the event loop, handles, requests, and more.toolbag-plugin-udp-reporter
- Implements the reporter interface over UDP.toolbag-plugin-policy
- Allows for the blacklisting of specific modules, methods, and bindings.toolbag-plugin-reporter-error-policy
- Allows the reporting interface to be used for error handling.toolbag-plugin-nsp-check
- Checks an application's dependencies against the Node Security Project's known vulnerabilities database.
To use one or more of the plugins in this module, add toolbag-plugins
to package.json
. In .toolbagrc.js
:
'use strict'; const ToolbagPlugins = ;const Policy = ;const StatsCollector = ;const UdpReporter = ; module { ;};
Available Plugins
Documentation improvements are welcome
BorlandCommander
- Implements the command interface over nes-based WebSockets. Communicates with a server running borland.Getfile
- Transfers a file as a JSON string. UsesBuffer.prototype.toJSON()
to encode data as JSON.Heapdump
- Creates a heap snapshot.HttpReporter
- Implements the reporter interface over HTTP.IpcCommander
- Implements the command interface over IPC usingprocess.send()
.NewRelic
- Sets up New Relic monitoring without modifying your application.ProcessReporter
- Implements the reporter interface over IPC usingprocess.send()
.Profiler
- Used to collect CPU profiles of a running application.SharedSymbol
- Registers a global symbol that exposestoolbag
to application code.Signal
- Sends signals to the running process.