1.4.0 • Published 8 years ago

local-webstrap v1.4.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

local-webstrap

Simple Node.js local web strapper allowing to run node.js code in different context (host, Azure Functions)

Installation

npm install --save local-webstrap

Usage

// Define the web handler.
function handler(req, res)
{
    //...
}

// Map the handler to an HTTP method.
require("local-webstrap")("localhost", handler, "GET");
1.4.0

8 years ago

1.3.7

8 years ago

1.3.6

8 years ago

1.3.5

8 years ago

1.3.4

8 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago