https://github.com/trstringer/globaller
:basketball: Create global packages locally without having to run npm pack
https://github.com/trstringer/globaller
Last synced: 7 months ago
JSON representation
:basketball: Create global packages locally without having to run npm pack
- Host: GitHub
- URL: https://github.com/trstringer/globaller
- Owner: trstringer
- Created: 2016-08-07T14:38:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-08T16:37:42.000Z (over 9 years ago)
- Last Synced: 2024-10-11T15:06:56.165Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Globaller
*Create global modules on your machine without having to `npm pack && npm install `*
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
1. Navigate to the directory of your global module that you are developing
2. Run `globaller`
3. Now run your global module anywhere on the system
If your module is named `mycli`, Globaller will create a symlink `mycli-`. 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.