Gathering detailed insights and metrics for @types/keyv__postgres
Gathering detailed insights and metrics for @types/keyv__postgres
Gathering detailed insights and metrics for @types/keyv__postgres
Gathering detailed insights and metrics for @types/keyv__postgres
npm install @types/keyv__postgres
Typescript
Module System
62.5
Supply Chain
75.6
Quality
75
Maintenance
100
Vulnerability
100
License
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Total Downloads
4,687
Last Day
6
Last Week
10
Last Month
37
Last Year
377
48,904 Stars
88,337 Commits
30,220 Forks
641 Watching
5 Branches
9,977 Contributors
Latest Version
1.0.2
Package Id
@types/keyv__postgres@1.0.2
Unpacked Size
4.58 kB
Size
1.81 kB
File Count
4
Cumulative downloads
Total Downloads
Last day
200%
6
Compared to previous day
Last week
-9.1%
10
Compared to previous week
Last month
105.6%
37
Compared to previous month
Last year
-4.3%
377
Compared to previous year
2
npm install --save @types/keyv__postgres
This package contains type definitions for @keyv/postgres (https://github.com/lukechilds/keyv-postgres).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/keyv__postgres.
1// Type definitions for @keyv/postgres 1.0 2// Project: https://github.com/lukechilds/keyv-postgres 3// Definitions by: BendingBender <https://github.com/BendingBender> 4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped 5// TypeScript Version: 2.3 6 7/// <reference types="node" /> 8 9import { Store } from 'keyv'; 10import { EventEmitter } from 'events'; 11 12export = KeyvPostgres; 13 14declare class KeyvPostgres extends EventEmitter implements Store<string | undefined> { 15 readonly ttlSupport: false; 16 namespace?: string | undefined; 17 18 constructor(options?: KeyvPostgres.Options); 19 20 get(key: string): Promise<string | undefined>; 21 set(key: string, value: string | undefined): Promise<any>; 22 delete(key: string): Promise<boolean>; 23 clear(): Promise<void>; 24} 25 26declare namespace KeyvPostgres { 27 interface Options { 28 uri?: string | undefined; 29 table?: string | undefined; 30 keySize?: number | undefined; 31 } 32} 33
These definitions were written by BendingBender.
No vulnerabilities found.
Reason
30 commit(s) and 5 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 2024-12-23
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