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

npm-junction

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-junction

NPM link/unlink (CLI) for NPM unsupported Windows (XP,2000,2003) using SysInternals Junction

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

npm-junction

Alternative NPM link/unlink command line interface (CLI) scripts for NPM unsupported Windows (XP,2000,2003) using SysInternals Junction.

Getting started

Install npm-junction globally and you'll have access to the nlink & nunlink commands anywhere on your Windows system.

npm install -g npm-junction

Creates a junction/symlink for the current directory or module (if a package.json exists) into the NPM global prefix [1] or a reverse link for the specified module [2]

Usage:

  • [1] nlink - create a symlink for the [current directory] or module (if a package.json exists) under NPM global prefix
  • [2] nlink module - create a symlink into [current directory]/node_modules/[module] from the [module] link in NPM global prefix

Unlink the junction/symlink for the current directory or module (if a package.json exists) from the NPM global prefix [1] or a remove a local link for the specified module [2]

Usage:

  • [1] nunlink - delete the module symlink for the [current directory] or module (if a package.json exists) from the NPM global prefix
  • [2] nunlink module - delete the symlink from [current directory]/node_modules/[module]
    // ..
	"scripts": {
		"postinstall": "nlink", // link current module into NPM global prefix
    "preinstall": "nunlink module", // unlink the specified global-linked module from the current module (to avoid npm install issues)
		"postinstall": "nlink module" // link the specified global-linked module from the current module
	},
    // ..

npm-junction changelog

  • v1.0.0 (2013.10.13)
  • Add current module name extraction from package.json
  • Update documentation with package.json script/hooks linking/unlinking
  • v0.0.1 (2013.05.03)
  • Initial commit

Keywords

FAQs

Package last updated on 16 Jan 2014

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