Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

zelda

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zelda

Automatically `npm link` all your packages together!

Source
npmnpm
Version
2.4.2
Version published
Maintainers
1
Created
Source

zelda npm npm

link spin attack

Sometimes Link needs a little help from Zelda.

usage

  • Install it globally.
npm install -g zelda
  • Run zelda from your node project directory. Pass it a single argument -- the directory where all your code lives.
zelda ~/code

zelda finds all the node packages in your code folder (~/code/ in the example). If any of these packages are listed as a dependency in the nearest package.json of your working directory, it automatically symlinks it for you.

what you might do if you're clever

  • Clone a cool project.
cd ~/code
git clone git@github.com:feross/webtorrent.git
  • Clone the project dependencies you plan to work on.
git clone git@github.com:feross/bittorrent-protocol.git
git clone git@github.com:feross/bittorrent-swarm.git
git clone git@github.com:feross/bittorrent-dht.git
  • Recursively npm install all project dependencies, but npm link the ones that are local.
cd webtorrent
zelda ~/code

Gone are the days of running tons of npm link commands by hand!

features

  • Automatically npm link all your modules together
  • Supports dependencies, devDependencies, and optionalDependencies
  • Recursively runs npm install so your freshly cloned projects are ready to go!

link

license

MIT. Copyright Feross Aboukhadijeh.

Keywords

npm link

FAQs

Package last updated on 10 Jun 2015

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