Just f**ing require modules and share code with the browser.
var f = require('frequire')(require)
Loads and registers a module file, or pass some code to be required (it will be wrapped like:
module.exports = code).
You can also require JSON files. Any other types will be returned as Strings (for example you could require an html document, a css file, etc).
window['some'] = code
Wraps and executes function:
Returns a Connect middleware.
For now the only option is the pathname to match with req.url (defaults to
express-expose, browserify, brequire
Uses browser require impl. by TJ Holowaychuk