New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

sympm

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sympm

sympm allows you to run npm install from inside of a Vagrant virtual machine without hitting symlink issues due to shared folders.

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

sympm

Travis NPM

sympm allows you to run npm install from inside of a Vagrant virtual machine without hitting symlink issues due to shared folders. It does so by symlinking your local node_modules/ directory to ~/.sympm/<currentDirBasename>/node_modules/, allowing npm to correctly symlink binaries and other goodies on install.

This tool is not meant to be used outside of a virtual machine.

Installation

npm install -g sympm

Usage

The commands below should be run within your virtual machine via vagrant ssh.

Install

Creates a symlink from ./node_modules to ~/.sympm/<currentDirBasename>/node_modules and runs npm install. You can then use npm normally with the new symlinked ./node_modules directory.

sympm install

Uninstall

Removes modules installed in ~/.sympm/<currentDirBasename> by running rm -rf ~/.sympm/<currentDirBasename>, and removes the symlinked ./node_modules directory.

sympm uninstall

Clean

Removes all modules installed in ~/.sympm/* by running rm -rf ~/.sympm/*.

sympm clean

To remove the symlink, simply rm ./node_modules and you're good to go. To completely uninstall sympm, remove the symlink and then run rm -rf ~/.sympm.

License

MIT © Ezekiel Gabrielse

Keywords

npm

FAQs

Package last updated on 13 Apr 2016

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