Gathering detailed insights and metrics for @types/klaw-sync
Gathering detailed insights and metrics for @types/klaw-sync
Gathering detailed insights and metrics for @types/klaw-sync
Gathering detailed insights and metrics for @types/klaw-sync
The repository for high quality TypeScript type definitions.
npm install @types/klaw-sync
Typescript
Module System
99.5
Supply Chain
95.9
Quality
75.7
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,031 Stars
89,737 Commits
30,432 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 13, 2025
Latest Version
6.0.5
Package Id
@types/klaw-sync@6.0.5
Unpacked Size
6.46 kB
Size
2.19 kB
File Count
5
Published on
Nov 21, 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
1
npm install --save @types/klaw-sync
This package contains type definitions for klaw-sync (https://github.com/manidlou/node-klaw-sync).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/klaw-sync.
1/// <reference types="node" /> 2 3import * as fs from "fs"; 4declare namespace klawSync { 5 interface Item { 6 path: string; 7 stats: fs.Stats; 8 } 9 10 type Filter = (item: Item) => boolean; 11 12 interface Options { 13 /** 14 * @description True to only return files (ignore directories). 15 * Defaults to false if not specified. 16 * @default false 17 */ 18 nodir?: boolean | undefined; 19 20 /** 21 * @description True to only return directories (ignore files). 22 * Defaults to false if not specified. 23 * @default false 24 */ 25 nofile?: boolean | undefined; 26 27 /** 28 * @description The number of times to recurse before stopping. 29 * -1 for unlimited. 30 * @default -1 31 * @since v5.0.0 32 */ 33 depthLimit?: number | undefined; 34 35 /** 36 * @description Custom fs, useful when mocking fs object. 37 * @default graceful-fs 38 * @since v4.0.0 39 */ 40 fs?: { 41 readdirSync(path: string): string[]; 42 statSync(path: string): fs.Stats; 43 } | undefined; 44 45 /** 46 * @description function that gets one argument fn({path: '', stats: {}}) and returns true to include 47 * or false to exclude the item 48 * @since v2.0.0 49 */ 50 filter?: Filter | undefined; 51 52 /** 53 * @description traverse all subdirectories, regardless of `filter` option. 54 * 55 * When set to true, traverseAll produces similar behavior to the default 56 * behavior prior to `v4.0.0`. The current default of `traverseAll: false` 57 * is equivalent to the old `noRecurseOnFailedFilter: true`). 58 * 59 * @since v6.0.0 60 */ 61 traverseAll?: boolean | undefined; 62 } 63} 64 65declare function klawSync( 66 root: string, 67 options?: klawSync.Options, 68): readonly klawSync.Item[]; 69 70export = klawSync; 71
These definitions were written by Brendan Forster.
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