Socket
Socket
Sign inDemoInstall

cluster-service

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cluster-service - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

test.js

6

package.json
{
"name": "cluster-service",
"version": "0.2.1",
"version": "0.2.2",
"author": { "name": "Aaron Silvas", "email": "asilvas@godaddy.com" },
"description": "Turns your single process code into a fault-resilient multi-process service with built-in REST & CLI support",
"main": "./cluster-service.js",
"scripts": { "test": "node ./test.js" },
"dependencies": {

@@ -12,2 +13,5 @@ "async": ">=0.2.x",

},
"devDependencies": {
"nodeunit": ">=0.8.1"
},
"repository": {

@@ -14,0 +18,0 @@ "type" : "git",

@@ -107,1 +107,15 @@ # cluster-service

cservice.trigger("custom", function(err) { /* my callback */ }, "arg1value", "arg2value");
## Unit Tests
Unit tests can be run using [nodeunit](https://github.com/caolan/nodeunit). You can run this shell command from the root of the project:
node test
or individual tests...
node test test-exit
npm is wired up as well.
npm test
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