1.0.15 • Published 3 years ago

stack_salehi v1.0.15

Weekly downloads
-
License
ISC
Repository
-
Last release
3 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

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago