Function symlink

  • Create a symbolic link. See symlink(2)

    Parameters

    • path: string

      Source file path.

    • newPath: string

      Target file path.

    • Optionaloptions: SymlinkOptions

      Options for specifying the type (Windows only).

    Returns Promise<void>