node package manager



Send files to your friends from the command line.

Inspired by @samsquire's #86 Friend Pipe.

Unfinished! The below is just the proposed API.


npm install -g friendpipe


Let's start by configuring outgoing email:

friend set
friend set smtp.port 25
friend set smtp.sender

Next let's add some friends:

friend add jason
friend add bob

Now we can send files:

# send a single file
friend send foo.jpg jason

# or pipe
cat foo.jpg | friend send jason bob

# with manual mime type:
cat kitteh.png | friend send --type=image/png bob

# add a subject line:


Protocol handlers are implemented in npm modules named according to.

For example, to implement a webdav protocol handler you would call your module friendpipe-webdav-handler.