browserify -r ./src/HelloWorld.js:hola
And then in the client code simply:
var hola = require('hola');
Covered briefly in the docs and command-line help:
--require, -r A module name or file to bundle.require() Optionally use a colon separator to set the target.