Gathering detailed insights and metrics for @types/tough-cookie-file-store
Gathering detailed insights and metrics for @types/tough-cookie-file-store
Gathering detailed insights and metrics for @types/tough-cookie-file-store
Gathering detailed insights and metrics for @types/tough-cookie-file-store
The repository for high quality TypeScript type definitions.
npm install @types/tough-cookie-file-store
Typescript
Module System
67.8
Supply Chain
90.4
Quality
75.5
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
94,995
Last Day
69
Last Week
784
Last Month
2,953
Last Year
21,093
NOASSERTION License
49,995 Stars
89,697 Commits
30,436 Forks
641 Watchers
6 Branches
9,957 Contributors
Updated on Jul 03, 2025
Latest Version
2.0.4
Package Id
@types/tough-cookie-file-store@2.0.4
Unpacked Size
5.51 kB
Size
1.82 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
50%
69
Compared to previous day
Last Week
-7.7%
784
Compared to previous week
Last Month
98.6%
2,953
Compared to previous month
Last Year
-4.8%
21,093
Compared to previous year
1
npm install --save @types/tough-cookie-file-store
This package contains type definitions for tough-cookie-file-store (https://github.com/ivanmarban/tough-cookie-file-store).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tough-cookie-file-store.
1import tough = require("tough-cookie");
2
3export class FileCookieStore extends tough.Store {
4 idx: {
5 [domain: string]: {
6 [path: string]: {
7 [key: string]: tough.Cookie;
8 };
9 };
10 };
11 filePath: string;
12 synchronous: boolean;
13
14 constructor(filePath: string);
15
16 findCookie(
17 domain: string,
18 path: string,
19 key: string,
20 cb: (err: null, cookie: tough.Cookie | null) => void,
21 ): void;
22
23 findCookies(
24 domain: string,
25 path: string,
26 cb: (err: Error | null, cookie: tough.Cookie[]) => void,
27 ): void;
28 findCookies(
29 domain: string,
30 path: string,
31 allowSpecialUseDomain: boolean,
32 cb: (err: Error | null, cookie: tough.Cookie[]) => void,
33 ): void;
34
35 getAllCookies(cb: (err: Error | null, cookies: tough.Cookie[]) => void): void;
36
37 putCookie(cookie: tough.Cookie, cb: (err: Error | null) => void): void;
38
39 removeAllCookies(cb: (err: Error | null) => void): void;
40
41 removeCookie(
42 domain: string,
43 path: string,
44 key: string,
45 cb: (err: Error | null) => void,
46 ): void;
47
48 removeCookies(
49 domain: string,
50 path: string,
51 cb: (err: Error | null) => void,
52 ): void;
53
54 updateCookie(
55 oldCookie: tough.Cookie,
56 newCookie: tough.Cookie,
57 cb: (err: Error | null) => void,
58 ): void;
59}
60
These definitions were written by Emily Marigold Klassen.
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