UNPKG

link-unlink

Version:

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

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