creationix/bodec — pull request #4 by mjackson (2014-12-18 05:08:23+00:00)
Title: Use "browser" field in package.json

The semi-standard "browser" field in package.json can be used to
indicate to various bundlers (Browserify, webpack, etc.) that certain
files should be used over others for browser builds. This commit
uses the "alternate main" method to specify that bodec-browser.js
should be used instead of bodec.js in browser builds of bodec.

See https://gist.github.com/defunctzombie/4339901 for more info.