Socket
Book a DemoInstallSign in
Socket

is-symbolic-link

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-symbolic-link

Indicates if path is symbolic link

latest
Source
npmnpm
Version
2.0.3
Version published
Maintainers
1
Created
Source

Indicates if path is symbolic link

Install

$ npm install --save is-symbolic-link

Usage

const isSymbolicLink = require('is-symbolic-link');

isSymbolicLink('/home/guntur/.npmrc').then(val => {
	console.log(val);
	//=> true
});

console.log(isSymbolicLink.sync('/home/guntur/todo.md'));
//=> false

API

isSymbolicLink(input)

Returns a promise value of an input

isSymbolicLink.sync(input)

Returns a boolean value of an input

input

  • Type: string

License

MIT © Guntur Poetra

Keywords

async

FAQs

Package last updated on 26 May 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