LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

npm-link

symlinks packages for local development

TLDR

Link current package globally
$ npm link
copy
Link to global package
$ npm link [package-name]
copy
Link local dependency
$ npm link [../path/to/package]
copy
Unlink package
$ npm unlink [package-name]
copy

SYNOPSIS

npm link [package]

DESCRIPTION

npm link symlinks packages for local development. Enables testing packages locally.The command creates global symlink. Then link into projects for development.

PARAMETERS

PACKAGE

Package name or path.
--help
Display help information.

INSTALL

sudo pacman -S npm
copy
sudo apk add npm
copy
brew install npm
copy

CAVEATS

Creates symlinks. Can cause issues with bundlers. Use carefully.

HISTORY

npm link enables local package development by creating symlinks between packages.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid