An open API service indexing awesome lists of open source software.

https://github.com/anilanar/purescript-hyper-sslify

Hyper middleware for redirecting requests to https
https://github.com/anilanar/purescript-hyper-sslify

Last synced: 6 months ago
JSON representation

Hyper middleware for redirecting requests to https

Awesome Lists containing this project

README

          

# purescript-hyper-sslify

[![Latest release](http://img.shields.io/github/release/anilanar/purescript-hyper-sslify.svg)](https://github.com/anilanar/purescript-hyper-sslify/releases)
[![Build status](https://travis-ci.org/anilanar/purescript-hyper-sslify.svg?branch=master)](https://travis-ci.org/anilanar/purescript-hyper-sslify)

Inspired from [express-sslify](https://github.com/florianheinemann/express-sslify) and [koa-sslify](https://github.com/turboMaCk/koa-sslify), provides `isSecure` and `redirectInsecure` middlewares for [hyper](https://pursuit.purescript.org/packages/purescript-hyper).

## Installation

```
bower install purescript-hyper-sslify
```

## Documentation

Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-hyper-sslify).