
Product
Go Support Is Now Generally Available
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
cloud-datastore-session
Advanced tools
cloud-datastore-session
is a Express session storage backed by Google Cloud Datastore.
Note: Cloud Datastore is a persistent, distributed, transactional database. Often, it's more appropriate to choose a different storage solution for sessions such as Memcache or Redis as their designs offer much faster operation in this use case.
$ npm install --save cloud-datastore-session
You must have a Google Cloud project and credentials. See gcloud node's documentation on setting up authorization.
var express = require('express');
var session = require('express-session');
var app = express();
var DatastoreStore = require('cloud-datastore-session')(session);
app.use(session({
store: new DatastoreStore({
dataset: gcloud.datastore.dataset({
prefix: 'express-sessions',
projectId: 'my-project-id',
keyFilename: './key.json'
}))
}),
secret: 'my-secret'
}));
FAQs
Google Cloud Datastore session store for Express/Connect
The npm package cloud-datastore-session receives a total of 0 weekly downloads. As such, cloud-datastore-session popularity was classified as not popular.
We found that cloud-datastore-session demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.