Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

loki-session

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loki-session - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

package.json
{
"name": "loki-session",
"version": "0.1.0",
"version": "0.1.1",
"description": "A session store for express-session powered by Loki.js",
"main": "test/server.js",
"main": "lib/loki-session.js",
"scripts": {

@@ -7,0 +7,0 @@ "start": "node test/server.js"

@@ -1,2 +0,2 @@

loki-session 0.1.0
loki-session 0.1.1
==================

@@ -13,1 +13,22 @@

- Unit Tests
##Example##
var express = require('express'),
session = require('express-session'),
store = require('loki-session'),
app = express();
app.use(session({
secret: '34PQ2R89t32kRxwF5QB6r4EmZQZGf73pek5TuSFae565FX8bT6GPfHSZ9t659ZYq',
name: 'loki-session',
resave: true,
store: store(__dirname + '/bin/db.json'),
saveUninitialized: true
}));
app.use(function(req, res) {
res.send('Session store powered by loki-session!');
});
app.listen(3000);
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc