Gathering detailed insights and metrics for @types/continuation-local-storage
Gathering detailed insights and metrics for @types/continuation-local-storage
Gathering detailed insights and metrics for @types/continuation-local-storage
Gathering detailed insights and metrics for @types/continuation-local-storage
The repository for high quality TypeScript type definitions.
npm install @types/continuation-local-storage
Typescript
Module System
99.8
Supply Chain
78.6
Quality
75.5
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,050 Stars
89,747 Commits
30,434 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 16, 2025
Latest Version
3.2.7
Package Id
@types/continuation-local-storage@3.2.7
Unpacked Size
5.39 kB
Size
2.02 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
npm install --save @types/continuation-local-storage
This package contains type definitions for continuation-local-storage (https://github.com/othiym23/node-continuation-local-storage).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/continuation-local-storage.
1/// <reference types="node" /> 2 3export type Context = { 4 [key: string]: any; 5}; 6 7export type BindCallbackFn<T> = (...args: any[]) => T; 8export type RunCallbackFn<T> = (context: Context) => T; 9 10export interface Namespace { 11 readonly name: string; // Note: this is readonly because changing it does not actually rename it 12 13 readonly active: Context; // Note: this is readonly because changing it manually will break functionality 14 createContext(): Context; 15 16 set<T>(key: string, value: T): T; 17 get<T>(key: string): T | undefined; 18 19 run<T = void>(callback: RunCallbackFn<T>): Context; 20 runAndReturn<T>(callback: RunCallbackFn<T>): T; 21 22 bind<T = void>(callback: BindCallbackFn<T>, context?: Context): BindCallbackFn<T>; 23 bindEmitter(emitter: NodeJS.EventEmitter): void; 24 25 enter(context: Context): void; 26 exit(context: Context): void; 27} 28 29export function createNamespace(name: string): Namespace; 30export function getNamespace(name: string): Namespace | undefined; 31export function destroyNamespace(name: string): void; 32export function reset(): void; 33 34// declare namespace process { 35// var namespaces: ContinuationLocalStorage.Namespace[]; 36// } 37
These definitions were written by Jang-Ho Hwang, Kei Son, and Dmitry Kudryavtsev.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
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-07-14
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