mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
398 B
TypeScript
15 lines
398 B
TypeScript
// Type definitions for parse-package-name 0.1
|
|
// Project: https://github.com/egoist/parse-package-name
|
|
// Definitions by: Eric Wang <https://github.com/fa93hws>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = parsePackageName;
|
|
|
|
interface PackageInfo {
|
|
name: string;
|
|
path: string;
|
|
version: string;
|
|
}
|
|
|
|
declare function parsePackageName(path: string): PackageInfo;
|