New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

errisy-session

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

errisy-session

use cookie to save session data for light weight service

latest
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

errisy-session

a simple session middleware for errisy-server

This is an simple implementation to session data in cookie.

The session object is stringified in the server and kept in the session field of cookie via asymmetric encryption methed (aes-256-gcm).

For a light weight small website, this is an easier solution as it does not depend on server side database or in memory storage.

Please add this session middleware as the first middleware when used in domainmiddleware errisy-server.

update 1.0.5

fixed up decryption bug. now working well.

Keywords

cookie

FAQs

Package last updated on 04 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts