Socket
Book a DemoInstallSign in
Socket

globaller

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globaller

Locally create a globally accessible node module

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Globaller

Create global modules on your machine without having to npm pack && npm install <local-package>

Why? When I'm writing node.js CLI applications, I like to test out running the package globally. It's convenient to just type my-cli instead of having to navigate to the bin.

Installation

npm install --global globaller

Usage

  • Navigate to the directory of your global module that you are developing
  • Run globaller
  • Now run your global module anywhere on the system

If your module is named mycli, Globaller will create a symlink mycli-<postfix>. You can specify a postfix by running globaller -p test, which will create mycli-test, otherwise the default postfix is dev. By default, mycli-dev will be generated.

Keywords

node

FAQs

Package last updated on 08 Aug 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