title: 'require is not defined' in Meteor.js when including NPM package
body: <p>I'm trying to use a npm package from Meteor.js <em>(Release 0.6.6.3)</em> using <code>Meteor.require</code>. However it throws an error saying that <code>require</code> is not defined. Why is this and how can we solve it?</p>
  
  <pre><code>mrt add npm
  npm install github
  </code></pre>
  
  <p><strong>packages.json</strong></p>
  
  <pre><code>{
      "github": "0.1.8"
  }
  </code></pre>
  
  <p><strong>github.js</strong></p>
  
  <pre><code>var GITHUB = Meteor.require('github');
  </code></pre>
  
  <p><strong>Error</strong></p>
  
  <pre><code>ReferenceError: require is not defined
  </code></pre>
  
  <hr>
  
  <p>The npm package has lines such as</p>
  
  <pre><code>var https = require('https')
  var url = require('url')
  var crypto = require('crypto')
  </code></pre>
  
  <p>Must the package's code be manually edited to use <code>Npm.require</code>? Editing them manually got rid of the errors.</p>
  
  <p>However theres a line:</p>
  
  <pre><code>module.exports = SOMETHING
  </code></pre>
  
  <p>How should we call <code>module</code> from within meteor?</p>