@types/path-parse
Advanced tools
Comparing version
@@ -8,5 +8,4 @@ // Type definitions for path-parse v1.0.5 | ||
import { ParsedPath } from "path"; | ||
declare const parse: (src: string) => ParsedPath; | ||
export = parse; |
{ | ||
"name": "@types/path-parse", | ||
"version": "1.0.19", | ||
"description": "TypeScript definitions for path-parse v1.0.5", | ||
"version": "1.0.20", | ||
"description": "TypeScript definitions for path-parse", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/path-parse", | ||
"license": "MIT", | ||
"author": "Dan Chao <http://dchao.co>", | ||
"contributors": [ | ||
{ | ||
"name": "Dan Chao", | ||
"url": "http://dchao.co" | ||
} | ||
], | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/path-parse" | ||
}, | ||
@@ -16,4 +24,4 @@ "scripts": {}, | ||
}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "0dc94033df3bac7e0630cc7b4b4882ab6b46284d5215f05b1c60f7c3421e5cb4" | ||
"typesPublisherContentHash": "86445d13c9f38085feb0dbd77f56c439f4643ca1e67893c61068e1d8b286a2c8", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -5,15 +5,27 @@ # Installation | ||
# Summary | ||
This package contains type definitions for path-parse v1.0.5 (https://github.com/jbgutierrez/path-parse). | ||
This package contains type definitions for path-parse (https://github.com/jbgutierrez/path-parse). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/path-parse | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/path-parse. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/path-parse/index.d.ts) | ||
````ts | ||
// Type definitions for path-parse v1.0.5 | ||
// Project: https://github.com/jbgutierrez/path-parse | ||
// Definitions by: Dan Chao <http://dchao.co> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT | ||
* File structure: ProperModule | ||
* Library Dependencies: node | ||
* Module Dependencies: path | ||
* Global values: parse | ||
/// <reference types="node"/> | ||
import { ParsedPath } from "path"; | ||
declare const parse: (src: string) => ParsedPath; | ||
export = parse; | ||
```` | ||
### Additional Details | ||
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Dan Chao <http://dchao.co>. | ||
These definitions were written by [Dan Chao](http://dchao.co). |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3260
45.93%0
-100%31
63.16%8
-77.78%1
Infinity%