get-symlinks
Get all symbolic link (file symlinks) using glob
Install
$ npm install get-symlinks
Usage
const getSymlinks = ; ; const symlinks = getSymlinks;console;
API
patterns
, [options]
)
getSymlinks(- Params:
patterns
:<string | string[]>
(required) - See the globby patterns.options
:<object>
(optional) - See the globby options.
- Returns:
<Promise<string[]>
- An array of symlinks paths.
patterns
, [options]
)
getSymlinks.sync(- Params:
patterns
:<string | string[]>
(required) - See the globby patterns.options
:<object>
(optional) - See the globby options.
- Returns:
<string[]>
- An array of symlinks paths.
Related
- del-symlinks - Delete symlinks using glob.
- is-symbolic-link - Check if PATH is symbolic link
- make-symlinks - Create symbolic link (symlinks) using glob.
License
MIT © Guntur Poetra