Gathering detailed insights and metrics for @types/parse-filepath
Gathering detailed insights and metrics for @types/parse-filepath
Gathering detailed insights and metrics for @types/parse-filepath
Gathering detailed insights and metrics for @types/parse-filepath
The repository for high quality TypeScript type definitions.
npm install @types/parse-filepath
Typescript
Module System
99.5
Supply Chain
93.5
Quality
75.2
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
5,883,905
Last Day
1,351
Last Week
31,114
Last Month
137,167
Last Year
1,336,414
NOASSERTION License
49,909 Stars
89,589 Commits
30,405 Forks
640 Watchers
7 Branches
9,958 Contributors
Updated on Jun 18, 2025
Latest Version
1.0.2
Package Id
@types/parse-filepath@1.0.2
Unpacked Size
5.33 kB
Size
1.85 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
-19.8%
1,351
Compared to previous day
Last Week
-4.4%
31,114
Compared to previous week
Last Month
-2%
137,167
Compared to previous month
Last Year
109.9%
1,336,414
Compared to previous year
npm install --save @types/parse-filepath
This package contains type definitions for parse-filepath (https://github.com/jonschlinkert/parse-filepath).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-filepath.
1export = parseFilepath; 2 3/** 4 * Pollyfill for node.js `path.parse()`, parses a filepath into an object. 5 * 6 * @param filepath 7 */ 8declare function parseFilepath(filepath: string): parseFilepath.ParsedPath; 9 10declare namespace parseFilepath { 11 interface ParsedPath { 12 /** 13 * The root of the path such as `'/'` or `'c:\'` 14 */ 15 root: string; 16 /** 17 * The full directory path such as `'/home/user/dir'` or `'c:\path\dir'` 18 */ 19 dir: string; 20 /** 21 * The file name including extension (if any) such as `'index.html'` 22 */ 23 base: string; 24 /** 25 * The file extension (if any) such as `'.html'` 26 */ 27 ext: string; 28 /** 29 * The file name without extension (if any) such as `'index'` 30 */ 31 name: string; 32 33 /** 34 * alias for `ext` 35 */ 36 extname: string; 37 /** 38 * alias for `base` 39 */ 40 basename: string; 41 /** 42 * alias for `dir` 43 */ 44 dirname: string; 45 /** 46 * alias for `name` 47 */ 48 stem: string; 49 50 /** 51 * the original filepath 52 */ 53 path: string; 54 55 /** 56 * fully resolved, absolute filepath 57 */ 58 absolute: string; 59 /** 60 * `true` if the given path is absolute 61 */ 62 isAbsolute: boolean; 63 } 64} 65
These definitions were written by BendingBender.
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 29/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-06-16
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