Socket
Book a DemoInstallSign in
Socket

get-symlinks

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-symlinks

Get all symbolic link (file symlinks) using glob

latest
Source
npmnpm
Version
3.0.1
Version published
Weekly downloads
952
-20.6%
Maintainers
1
Weekly downloads
 
Created
Source

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.

License

MIT © Guntur Poetra

Keywords

fetch

FAQs

Package last updated on 14 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts