Installations
npm install @types/keyv__postgres
Developer Guide
Typescript
Yes
Module System
N/A
Score
62.5
Supply Chain
75.6
Quality
75
Maintenance
100
Vulnerability
100
License
Contributors
Languages
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Developer
DefinitelyTyped
Download Statistics
Total Downloads
4,687
Last Day
6
Last Week
10
Last Month
37
Last Year
377
GitHub Statistics
48,904 Stars
88,337 Commits
30,220 Forks
641 Watching
5 Branches
9,977 Contributors
Package Meta Information
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
Total Downloads
Cumulative downloads
Total Downloads
4,687
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
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
Installation
npm install --save @types/keyv__postgres
Summary
This package contains type definitions for @keyv/postgres (https://github.com/lukechilds/keyv-postgres).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/keyv__postgres.
index.d.ts
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
Additional Details
- Last updated: Thu, 08 Jul 2021 16:23:15 GMT
- Dependencies: @types/keyv, @types/node
- Global values: none
Credits
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
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
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
- Info: project has a license file: LICENSE:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
- Warn: npmCommand not pinned by hash: types/lodash/scripts/generate-all.sh:5
- Warn: npmCommand not pinned by hash: types/lodash/scripts/generate-all.sh:12
- Info: 20 out of 20 GitHub-owned GitHubAction dependencies pinned
- Info: 8 out of 8 third-party GitHubAction dependencies pinned
- Info: 0 out of 2 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/UpdateCodeowners.yml:19
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ghostbuster.yml:20
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/support-window.yml:22
- Info: topLevel 'contents' permission set to 'read': .github/workflows/CI.yml:16
- Info: topLevel 'contents' permission set to 'read': .github/workflows/UpdateCodeowners.yml:14
- Warn: no topLevel permission defined: .github/workflows/format-and-commit.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/ghostbuster.yml:15
- Info: topLevel 'contents' permission set to 'read': .github/workflows/lint-md.yml:7
- Warn: no topLevel permission defined: .github/workflows/pnpm-cache.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/support-window.yml:17
- Warn: no topLevel permission defined: .github/workflows/watchdog-publisher.yml:1
- Warn: no topLevel permission defined: .github/workflows/watchdog-typescript-bot.yml:1
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 27 are checked with a SAST tool
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
7
/10
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