Gathering detailed insights and metrics for @types/cookie-signature
Gathering detailed insights and metrics for @types/cookie-signature
Gathering detailed insights and metrics for @types/cookie-signature
Gathering detailed insights and metrics for @types/cookie-signature
The repository for high quality TypeScript type definitions.
npm install @types/cookie-signature
Typescript
Module System
99.8
Supply Chain
63.1
Quality
75.5
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
40,693,779
Last Day
5,959
Last Week
99,798
Last Month
443,974
Last Year
4,785,934
NOASSERTION License
49,983 Stars
89,684 Commits
30,432 Forks
641 Watchers
6 Branches
9,957 Contributors
Updated on Jul 01, 2025
Latest Version
1.1.2
Package Id
@types/cookie-signature@1.1.2
Unpacked Size
3.34 kB
Size
1.67 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
-5.4%
5,959
Compared to previous day
Last Week
-7%
99,798
Compared to previous week
Last Month
-0.7%
443,974
Compared to previous month
Last Year
-17.7%
4,785,934
Compared to previous year
1
npm install --save @types/cookie-signature
This package contains type definitions for cookie-signature (https://github.com/tj/node-cookie-signature).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cookie-signature.
1/// <reference types="node" /> 2 3import type { CipherKey } from "node:crypto"; 4 5/** Sign the given `val` with `secret`. */ 6export function sign(value: string, secret: CipherKey): string; 7 8/** 9 * Unsign and decode the given `val` with `secret`, 10 * returning `false` if the signature is invalid. 11 */ 12export function unsign(value: string, secret: CipherKey): string | false; 13
These definitions were written by Junyoung Choi.
No vulnerabilities found.
Reason
30 commit(s) and 1 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
license file detected
Details
Reason
Found 25/29 approved changesets -- score normalized to 8
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-06-30
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