1.4.0 • Published 6 years ago

local-webstrap v1.4.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 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

6 years ago

1.3.7

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago