node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

exports-loader

exports loader module for webpack

exports loader for webpack

require("exports?file,parse=helpers.parse!./file.js");
// adds below code the the file's source: 
//  exports["file"] = file; 
//  exports["parse"] = helpers.parse; 
 
require("exports?file!./file.js");
// adds below code the the file's source: 
//  module.exports = file; 

Documentation: Using loaders

MIT (http://www.opensource.org/licenses/mit-license.php)