https://github.com/hackergrrl/friendpm
:two_women_holding_hands: Share, publish, and install node packages from your cache over the local network.
https://github.com/hackergrrl/friendpm
Last synced: 3 months ago
JSON representation
:two_women_holding_hands: Share, publish, and install node packages from your cache over the local network.
- Host: GitHub
- URL: https://github.com/hackergrrl/friendpm
- Owner: hackergrrl
- Created: 2017-05-27T16:11:35.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-05T23:27:40.000Z (over 8 years ago)
- Last Synced: 2025-10-11T12:03:20.803Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 29.3 KB
- Stars: 42
- Watchers: 3
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# friendpm
> Share, publish, and install node packages from your cache over the local
> network.
## Install
With [npm](https://npmjs.org/) installed, run
```
$ npm install --global friendpm
```
## Usage
Use the `friendpm` command just like `npm`, except the `install` and `publish`
subcommands operate on your machine's cache and other friendpm users on the
local network, instead of the NPM central servers.
```
friendpm i, install [-S] [-D]
Works like `npm install`. Accepts a package name to install from someone on
the local network, or your own cache if none are found.
friendpm publish
Works like `npm publish`, except your package is only published to your
local cache. It can be installed immediately after by you or others on the
network (if you're running `friendpm share`).
friendpm share
Run a tiny npm registry that other `friendpm` users can discover and use
over the local network.
```
## Caveats
At version 5 `npm` changed its internal caching mechanism, making `friendpm` no
longer work with it. However, your left-over npm cache from when you ran 4 or
earlier (if you did) still remains and can be shared!
You can downgrade to `npm@4` or earlier, *or* consider donating a patch that
adds npm5 caching support!
## License
ISC