UNPKG

piclist

Version:

Modified PicGo core, A tool for picture uploading

10 lines (9 loc) 735 B
import type { ILogger, IPluginNameType } from '../../types'; export declare const getPluginNameType: (name: string) => IPluginNameType; export declare const isSimpleName: (nameOrPath: string) => boolean; export declare const handleStreamlinePluginName: (name: string) => string; export declare const handleCompletePluginName: (name: string, scope?: string) => string; export declare const getProcessPluginName: (nameOrPath: string, logger?: ILogger | Console) => string; export declare const getNormalPluginName: (nameOrPath: string, logger?: ILogger | Console) => string; export declare const handleUnixStylePath: (pathStr: string) => string; export declare const removePluginVersion: (nameOrPath: string, scope?: boolean) => string;