I'm really new to browserify world.
I want to use this module peer-file, in order to allow the file transfer between two browsers. Reading the Usage section into readme, I note I have to include the script bundle.js in my web page. To build the bundle I need to type browserify -r ./index.js > build.js, where -r option means external require, so I can use in my main script the keyword require(), like this:
var send = require('peer-file/send')
var receive = require('peer-file/receive')
However, when I load the web page, I receive this error into the console.
Uncaught Error: Cannot find module 'peer-file/send'
Any suggestion?