fsPromises.symlink(target, path[, type])


    创建符号链接。

    Creates a symbolic link.

    The type argument is only used on Windows platforms and can be one of 'dir', 'file', or 'junction'. Windows junction points require the destination path to be absolute. When using 'junction', the target argument will automatically be normalized to absolute path.