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

linkaroo

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

linkaroo

Like npm link, but "npm pack -> copy -> untar".

  • 0.2.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

"g'day"

linkaroooooooooooooooooooooooooooooooooooooooooooo

Has npm link or yarn link got you down? 😃😭

Does your linked package have troublesome "singleton" dependencies that begin to double-up, like react?

Maybe your code bundler trips up when traversing weird ol' symlinks?

Perhaps you're allergic to or straight up don't trust those `link` commands? 🤷‍

...

👉🦘 Well, give up now and try linkaroo. 🦘👍😉 wink

Install

npm i -g linkaroo

Usage

Step 1.

Paaaaack your package!

$ cd my-pkg && npm run build
$ linkaroo pack

Step 2.

Liiiiiink it up!

$ cd my-app
$ linkaroo link "my-pkg@1.0.0"

Step 3.

Repeat steps 1 & 2 when my-pkg chaaaaanges.

👏 DONE 👏

👏 DONE 👏

Sponsored* by the Australian Government

*: It's not

Problem Background

Using npm/yarn link can be dissapointing in real life, because our node & bundlers get messed up traversing symlinks; they get stuck and find interdependant packages they were NOT suppose to... 😡

So let's just pretend to publish and install during local iterations.

That's what these two commands pretend to do:

  1. pack will prepare your package in a tarball (like publishing) and put it somewhere safe on your machine
  2. link will unpack that tarball into your other dependants node_modules/ directory (like a dirty lazy npm install)

Thanks to the NPM team for making their CLI easy to use.

MIT

FAQs

Package last updated on 05 Jun 2019

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