doc: improve module documentation
authorRyan Graham <r.m.graham@gmail.com>
Sat, 26 Oct 2013 05:03:02 +0000 (22:03 -0700)
committerBen Noordhuis <info@bnoordhuis.nl>
Sun, 27 Oct 2013 10:47:11 +0000 (11:47 +0100)
commit5ac6f4de13bb2f18c264dfccfdcfea5a9118d43e
tree6c94a7e81fdf9e2bbf468e4c008fcc98ebe350b1
parenta60f67192fe1f3d06ac8eacd81830facee78f6d1
doc: improve module documentation

Expands on when to use module.exports vs. exports. This is a recurring
question on mailing list and continues to confuse new devs.
doc/api/globals.markdown
doc/api/modules.markdown