Gathering detailed insights and metrics for @types/filing-cabinet
Gathering detailed insights and metrics for @types/filing-cabinet
Gathering detailed insights and metrics for @types/filing-cabinet
Gathering detailed insights and metrics for @types/filing-cabinet
The repository for high quality TypeScript type definitions.
npm install @types/filing-cabinet
Typescript
Module System
71.3
Supply Chain
89.3
Quality
75.3
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,028 Stars
89,737 Commits
30,433 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 13, 2025
Latest Version
2.5.3
Package Id
@types/filing-cabinet@2.5.3
Unpacked Size
6.42 kB
Size
2.21 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
npm install --save @types/filing-cabinet
This package contains type definitions for filing-cabinet (https://github.com/mrjoelkemp/node-filing-cabinet).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/filing-cabinet.
1declare namespace cabinet { 2 interface Options { 3 /** the dependency path */ 4 partial: string; 5 /** the path to all files */ 6 directory: string; 7 /** the path to the file containing the partial */ 8 filename: string; 9 /** 10 * the parsed AST for filename 11 * Useful optimization for avoiding a parse of filename 12 */ 13 ast?: any; 14 /** 15 * `requirejs` config for resolving aliased JavaScript modules 16 */ 17 config?: any; 18 /** 19 * `webpack` config for resolving aliased JavaScript modules 20 */ 21 webpackConfig?: any; 22 /** 23 * config for resolving entry file for `node_modules`. 24 * This value overrides the main attribute in the `package.json` file; 25 * used in conjunction with the `packageFilter` of the resolve package 26 */ 27 nodeModulesConfig?: any; 28 /** 29 * Path to a typescript configuration. 30 * Could also be an object representing a pre-parsed typescript config 31 */ 32 tsConfig?: string | object | undefined; 33 /** 34 * For typescript files, whether to prefer *.js over *.d.ts 35 */ 36 noTypeDefinitions?: boolean | undefined; 37 } 38 39 type Resolver = (partial: string, filename: string, directory: string, config?: any) => void; 40 41 /** 42 * Register a custom lookup resolver for a file extension 43 * If a given extension does not have a registered resolver, 44 * cabinet will use a generic file resolver which is basically `require('path').join` 45 * with a bit of extension defaulting logic 46 * @param extension the extension of the file that should use the custom resolver (ex: '.py', '.php') 47 * @param resolver A resolver of partial paths 48 */ 49 function register(extension: string, resolver: Resolver): void; 50} 51 52declare function cabinet(options: cabinet.Options): string; 53 54export = cabinet; 55
These definitions were written by Piotr Błażejewicz (Peter Blazejewicz).
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-07
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