1.0.15 • Published 5 years ago

stack_salehi v1.0.15

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

stack_salehi:

Stack is a minimal http module system for node.js.

Install:

If you use npm, then install stack_salehi via npm. Also, remember to put it as a dependency in your own project's package.json file.

npm install stack_salehi:

If you don't use npm (Like you're on a phone), then simply copy the single file stack.js somewhere you can get to it.

Example:

http.createServer(require('stack_salehi')( require('loggerMiddleware')(), require('staticMiddleware')(root, mount), //... )).listen(8080);

Explanation:

As you can see, it takes a list of handler functions and will chain them up for you.

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago