Giter VIP home page Giter VIP logo

zelda's Introduction

zelda npm npm

Automatically npm link all your packages together!

link spin attack

Sometimes Link needs a little help from Zelda.

usage

  1. Install it globally.
npm install -g zelda
  1. 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

  1. Clone a cool project.
cd ~/code
git clone [email protected]:feross/webtorrent.git
  1. Clone the project dependencies you plan to work on.
git clone [email protected]:feross/bittorrent-protocol.git
git clone [email protected]:feross/bittorrent-swarm.git
git clone [email protected]:feross/bittorrent-dht.git
  1. 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 is better with zelda!

link

license

MIT. Copyright Feross Aboukhadijeh.

zelda's People

Contributors

alexgorbatchev avatar feross avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.