UNPKG

link-unlink

Version:

Link and unlink with saving and restoring the previous file or directory

3 lines (2 loc) 173 B
import type { LinkCallback } from './types.ts'; export default function link(src: string, target: string, callback?: undefined | LinkCallback): undefined | Promise<string>;