cluster-service
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"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 |
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
37164
19
996
121
1