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 link -> copy -> untar".

  • 0.1.0
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

linkaroo

Is npm link or yarn link not working for you?

  • Does your linked package have singleton dependencies, like react?
  • Maybe your code bundler trips up on symlinks?
  • Perhaps you're allergic to those commands?

Well, try linkaroo.

Usage

First step: pack your package!
$ cd my-pkg
$ linkaroo pack
#  Packing "my-pkg"... Packed!
#
#  Run the following in your other package or app:
#
#    linkaroo link "my-pkg" "/tmp/linkaroo/my-pkg-1.0.0.tgz"
#    ^ Copied to clipboard. :)
#
#  ...Bai!
$ cd my-app
$ linkaroo link "my-pkg" "/tmp/linkaroo/my-pkg-0.1.0.tgz"
#  Linking "my-pkg"
#
#    my-pkg-0.1.0.tgz  ⟹   node_modules/my-pkg
#
#  ...Bai!

Problem Background

To avoid problems while using npm link during development of interdependent packages, we can pretend to publish and install while iterations continue.

That's what these two commands pretend to do:

  1. pack will prepare your package for publish, and put the resulting tarball somewhere safe locally.
  2. link will unpack that tarball into your other dependants node_modules/ directory, just like npm install does.

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

MIT

FAQs

Package last updated on 06 Mar 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