Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 879 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 879 Bytes

Simple Links

Provides a simpler way to link local projects together instead of using npm link.

Installation

npm install -g simple-links

Usage

There are two aliases for the command, sl and simple-link.

By default it will search for a package.json file to find the name of the package and place it in the node_modules directory of the current project.

sl ../path/to/some-package

You can also watch for changes and it will automatically update the link.

sl ../path/to/some-package -w

However if you wish to link any other directory, you can specify the output directory.

sl ../path/to/some-package ./some-folder

Limitations

Simple links will not copy over node_modules therefore if you are working on an unreleased repo, or have added a new module to an existing one, you will run into issues of missing modules.