# akera-web-session

> Session management middleware for Akera web service

Latest version **1.0.5** (published 2016-02-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install akera-web-session
pnpm add akera-web-session
yarn add akera-web-session
bun add akera-web-session
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2016-02-14 |
| First published | 2015-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Marian Edu |
| Maintainers | akeraio |

## Links

- npm: https://www.npmjs.com/package/akera-web-session
- Repository: https://github.com/akera-io/akera-web-session
- Homepage: http://akera.io
- Issues: https://github.com/akera-io/akera-web-session/issues
- npm.io page: https://npm.io/package/akera-web-session

## Dependencies (1)

- [express-session](https://npm.io/package/express-session.md) >= 1.10.x

## Recent versions

- 1.0.5 (latest) — 2016-02-14
- 1.0.2 — 2015-12-16
- 1.0.1 — 2015-12-16

## README

[![Akera Logo](http://akera.io/logo.png)](http://akera.io/)

  Session management module for Akera.io web service.

## Installation

```bash
$ npm set registry "http://repository.akera.io/"
$ npm install akera-web-session
```

## Docs

  * [Website and Documentation](http://akera.io/)


## Tests

  To run the test suite, first install the dependencies, then run `npm test`:

```bash
$ npm install
$ npm test
```

## Quick Start

  This module is designed to be loaded as application level service which 
  is usually done by adding a reference to it in `services` section of 
  application's configuration.
   
  ```json
  "services": [
		{ 
			"middleware": "akera-web-session",
			"config": {
				"isolated": true,
				"store": {
					"connector": "connect-redis",
					"host": "10.10.10.6",
					"db": 0
				}
			}
		}
	]
  ```
  
  Service options available:
  - `isolated`: if set to true session data is 'isolated' at broker level, 
  each broker will have it's own session space - default is false, same 
  session data will be available on all brokers 
  - `store`: default session memory store is not designed to be used in 
  production, use this section to define the store to be used for session 
  persistence:
  	- `connector`: the module providing the session store
  	- any connector specific configuration
  - all options available on express-session module with following defaults
  	- resave: false
  	- saveUninitialized: false
  	- unset: 'destroy'
  
  
## License
	
MIT

---
_Source: https://npm.io/package/akera-web-session · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
