最終更新:2018-01-07 (日) 08:37:29 (2310d)
Node.js/exports
https://nodejs.org/api/modules.html#modules_exports_shortcut
例
- exports.add = function(){...}
メモ
- exportsオブジェクトは代入不可なので中身を書き換えたい場合はmodule.exportsを使う