Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

resolve-link-target

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-link-target

Resolve a symlink's (or junction's) target

  • 0.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3K
decreased by-82.24%
Maintainers
1
Weekly downloads
 
Created
Source

Get the filename of a symlink's target

npm version Build Status

Installation

npm install --save resolve-link-target

Usage

const resolveLinkTarget = require('resolve-link-target')

resolveLinkTarget('path-to-symlink')
  .then(targetPath => console.log(targetPath))
  //> "/home/target"
  .catch(err => console.error(err))

// or synchronously
resolveLinkTarget.sync('path-to-symlink')
//> "/home/target"

License

MIT © Zoltan Kochan

Keywords

FAQs

Package last updated on 24 Jul 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc