create-symlink
A Node.js module to create a symbolic link
const createSymlink = ;const realpathSync = ; ;
Installation
npm install create-symlink
API
const createSymlink = ;
createSymlink(target, path [, option])
target: String
(symlink target)
path: String
(a path where you create a symlink)
option: Object
Return: Promise
Almost the same as the built-in fs.symlink
, but:
- Promisified
- The third parameter receives an object with
type
property, instead of receiving a string directly.
;
License
Copyright (c) 2017 Shinnosuke Watanabe
Licensed under the MIT License.