UNPKG

make-symlinks

Version:

Create symbolic link (file symlink) using glob

15 lines (14 loc) 516 B
export interface CreateSymlinkInterface { cwd?: string; force?: boolean; dryRun?: boolean; } export interface SymlinkInterface { target: string; path: string; } declare function makeSymlink(patterns: string | string[], outputPath: string, options?: CreateSymlinkInterface): Promise<SymlinkInterface[]>; declare namespace makeSymlink { var sync: (patterns: string | string[], destPath: string, options?: CreateSymlinkInterface | undefined) => SymlinkInterface[]; } export default makeSymlink;