Files
node/doc/api
Sam Roberts ba077a424b doc: improve description of module exports
- Do not use word alias, it isn't well defined
- Fix return value of require() example, which confusingly was not the
  exported API as it should have been.
- Fix the require() example, which claimed that the module exported `0`,
  when it exports `some_func`.
- Describe best practice in keeping exports and module.exports bound
  together.
- Describe why exports exists
- Remove reference to magic, which is also not well defined

PR-URL: https://github.com/nodejs/node/pull/9622
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-12-20 14:44:49 -05:00
..
2016-04-26 12:16:28 -07:00
2016-12-20 14:22:44 -05:00
2016-09-09 11:06:17 -04:00
2016-10-11 12:26:30 -04:00
2016-12-13 15:52:31 -05:00
2016-04-26 12:16:28 -07:00
2016-12-13 16:10:09 -05:00
2016-09-09 11:06:18 -04:00
2016-12-13 16:05:59 -05:00
2016-12-13 16:10:09 -05:00
2016-11-15 15:53:18 -05:00
2016-11-11 15:37:03 -05:00