Package Exports
- get-symlinks
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (get-symlinks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
get-symlinks 
Get all symbolic link in directory
Install
$ npm install --save get-symlinksUsage
async
const getSymlinks = require('get-symlinks');
getSymlinks(['/home/guntur/.*']).then(symlinks => {
console.log(symlinks);
});sync
const getSymlinks = require('get-symlinks');
const symlinks = getSymlinks.sync(['/home/guntur/.*', '!/home/guntur/.*rc']);
console.log(symlinks);API
getSymlinks(patterns, [options])
Returns a promise for an array of symlinks paths.
getSymlinks.sync(patterns, [options])
Returns an array of symlinks paths.
patterns
Type: string, array
See supported minimatch patterns.
options
Type: object
See the node-glob options.
License
MIT © Guntur