get-symlinks

3.0.1 • Public • Published

get-symlinks

Travis CI node npm PRs


Get all symbolic link (file symlinks) using glob

Install

$ npm install get-symlinks

Usage

const getSymlinks = require('get-symlinks');
 
getSymlinks(['/home/guntur/.*']).then(symlinks => {
    console.log(symlinks);
});
 
const symlinks = getSymlinks.sync(['/home/guntur/.*', '!/home/guntur/.*rc']);
console.log(symlinks);

API

getSymlinks(patterns, [options])

  • Params:
  • Returns: <Promise<string[]> - An array of symlinks paths.

getSymlinks.sync(patterns, [options])

  • Params:
  • Returns: <string[]> - An array of symlinks paths.

Related

License

MIT © Guntur Poetra

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.0.11,223latest

Version History

VersionDownloads (Last 7 Days)Published
3.0.11,223
3.0.01
2.0.01
1.0.2117
1.0.11
1.0.01
0.1.01

Package Sidebar

Install

npm i get-symlinks

Weekly Downloads

1,345

Version

3.0.1

License

MIT

Unpacked Size

4.29 kB

Total Files

4

Last publish

Collaborators

  • guntur