Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

oliversalzburg/is-junction

Repository files navigation

is-junction

Determine if a given path resolves to an NTFS junction (reparse point).

const { isJunction, isJunctionSync } = require( "is-junction" );

isJunctionSync( path ); // returns true or false depending on if the path is a junction.

isJunction( path, ( error, result ) => {
	// `result` is true or false depending on if the path is a junction.
} );