/hyper

Type-safe, statically checked composition of HTTP servers

Primary LanguagePureScriptMozilla Public License 2.0MPL-2.0

Hyper

Type-safe, statically checked composition of HTTP servers

Introduction | Documentation (also in PDF) | Examples


Hyper is an experimental project, trying to improve correctness in web server programming, and in HTTP middleware and request handlers specifically. To learn more about Hyper, check out the documentation, "Hyper: Elegant Weapons for a More Civilized Page" (introductory blog post), or the examples.

Build Status Latest release


Build

Install dependencies and build:

bower install
pulp build

Running Tests

pulp test

Running Examples

# for examples using the node server:
npm install
pulp run -I examples --main Examples.<example-name>
# for instance to run HelloHyper:
pulp run -I examples --main Examples.HelloHyper

Building all Examples

npm install # for examples using the node server
make examples

Building Documentation

See docs-src/README.md for prerequisites, setup, and how to work with the documentation.

Then, for the release build, run:

make docs

CodeScene Status

Get more details at codescene.io.

License

Mozilla Public License Version 2.0