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

Usage no npm install needed!

<script type="module">
  import expressSwishProtocol from '';



This is the SWISH (Secured Web Iterating Session Handshake) middleware implementation for ExpressJS. For the core SWISH Protocol project, please refer to 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


The module is released and available in NPMJS (

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'