Permalink
Browse files

Personalize the 'package.json' to reference Stack2. Rewrite the READM…

…E header to mention what's new in Stack2.
  • Loading branch information...
1 parent 7fee4b4 commit 09c77521f306e45018097d19a28efb67cd6335e5 @TooTallNate committed Mar 28, 2011
Showing with 24 additions and 7 deletions.
  1. +17 −1 README.markdown
  2. +7 −6 package.json
View
@@ -1,4 +1,20 @@
-# Stack
+# Stack2
+## Fork of 'Stack' with some added goodies that won't be included in the main repo.
+
+__Stack2__ is a fork of the original Stack module. This version includes some additional
+features that were decided not to be included upstream because they incur a slight
+performance penalty. The mainline "Stack" is designed to be used in cases where extreme
+performance is a requirement, "Stack2" may be used otherwise in order to:
+
+ * Maintain the original `this` of when the handler function is called throughout
+ all the layers. This is not a guarantee with the normal Stack.
+
+ * Have different/multiple error handlers for your various stack handlers. In addition
+ to setting `Stack.errorHandler`, you may also set `handler.errorHandler` as well,
+ where _handler_ is the result of a `Stack()` call.
+
+
+-------------------------------------------------------------------
Stack is a minimal http module system for node.js.
View
@@ -1,14 +1,15 @@
{
- "name": "stack",
- "description": "Stack is a minimal http module system for node.js",
- "tags": ["connect", "middleware", "stack", "http"],
- "version": "0.0.3",
+ "name": "stack2",
+ "description": "Fork of 'Stack' with some added goodies that won't be included in the main repo.",
+ "tags": ["connect", "middleware", "stack", "http", "stack2"],
+ "version": "2.0.3",
"author": "Tim Caswell <tim@creationix.com>",
+ "maintainer": "Nathan Rajlich <nathan@tootallnate.net>",
"repository": {
"type": "git",
- "url": "http://github.com/creationix/stack.git"
+ "url": "git://github.com/TooTallNate/stack2.git"
},
- "bugs": "http://github.com/creationix/stack/issues",
+ "bugs": "https://github.com/TooTallNate/stack2/issues",
"engines": ["node >= 0.2.0"],
"main": "stack.js"
}

0 comments on commit 09c7752

Please sign in to comment.