express-swish-protocol

SWISH (Secured Web Iterating Session Handshake) middle-ware for Express

Usage no npm install needed!

<script type="module">
  import expressSwishProtocol from 'https://cdn.skypack.dev/express-swish-protocol';
</script>

README

express-swish-protocol

This is the SWISH (Secured Web Iterating Session Handshake) middleware implementation for ExpressJS. For the core SWISH Protocol project, please refer to https://github.com/adonisv79/swish-protocol request swish banner

Project stats

  • Package: npm npm
  • License: GitHub
  • CICD: Codacy Badge Known Vulnerabilities
    • develop: Build Status Coverage Status
    • master: Build Status Coverage Status

Installation

The module is released and available in NPMJS (https://www.npmjs.com/package/express-swish-protocol)

npm install express-swish-protocol --save

Sample use

Start the sample server and client and see the interaction

npm run start:server
// then
npm run start:client

Check out the codes in 'tools' folder for sample implementation of the middleware. Also, make sure to replace the following in your actual implementation

import { ExpressSwish, SwishSessionObject } from 'express-swish-protocol'