Gathering detailed insights and metrics for @types/express-socket.io-session
Gathering detailed insights and metrics for @types/express-socket.io-session
npm install @types/express-socket.io-session
Typescript
Module System
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Total Downloads
310,434
Last Day
183
Last Week
902
Last Month
4,387
Last Year
56,132
49,094 Stars
88,626 Commits
30,291 Forks
640 Watching
5 Branches
9,977 Contributors
Latest Version
1.3.9
Package Id
@types/express-socket.io-session@1.3.9
Unpacked Size
4.91 kB
Size
1.84 kB
File Count
5
Publised On
07 Nov 2023
Cumulative downloads
Total Downloads
Last day
-18.3%
183
Compared to previous day
Last week
-42.9%
902
Compared to previous week
Last month
8.9%
4,387
Compared to previous month
Last year
3.3%
56,132
Compared to previous year
3
npm install --save @types/express-socket.io-session
This package contains type definitions for express-socket.io-session (https://github.com/oskosk/express-socket.io-session).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-socket.io-session.
1import socketio = require("socket.io"); 2import express = require("express"); 3import session = require("express-session"); 4 5declare module "socket.io" { 6 interface Handshake { 7 session?: session.Session & Partial<session.SessionData> | undefined; 8 sessionID?: string | undefined; 9 } 10} 11 12declare function sharedsession( 13 expressSessionMiddleware: express.RequestHandler, 14 cookieParserMiddleware: express.RequestHandler, 15 options?: sharedsession.SharedSessionOptions, 16): sharedsession.SocketIoSharedSessionMiddleware; 17 18declare function sharedsession( 19 expressSessionMiddleware: express.RequestHandler, 20 options?: sharedsession.SharedSessionOptions, 21): sharedsession.SocketIoSharedSessionMiddleware; 22 23declare namespace sharedsession { 24 interface SharedSessionOptions { 25 autoSave?: boolean | undefined; 26 saveUninitialized?: boolean | undefined; 27 } 28 29 type SocketIoSharedSessionMiddleware = (socket: socketio.Socket, next: (err?: any) => void) => void; 30} 31 32export = sharedsession; 33
These definitions were written by AylaJK.
No vulnerabilities found.
Reason
30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More