plugin/init_npm.js
function _indexJsContent() {
  Meteor.npmRequire = function(moduleName) {
    var module = Npm.require(moduleName);
    return module;
  };

  Meteor.require = function(moduleName) {
    console.warn('Meteor.require is deprecated. Please use Meteor.npmRequire instead!');
    return Meteor.npmRequire(moduleName);
  };
}
function _indexJsContent() {
  Meteor.npmRequire = function(moduleName) {
    var module = Npm.require(moduleName);
    return module;
  };

  Meteor.require = function(moduleName) {
    console.warn('Meteor.require is deprecated. Please use Meteor.npmRequire instead!');
    return Meteor.npmRequire(moduleName);
  };
}
function _indexJsContent ( ) { Meteor . npmRequire = function ( moduleName ) { var module = Npm . require ( moduleName ) ; return module ; } ; Meteor . require = function ( moduleName ) { console . warn ( 'Meteor.require is deprecated. Please use Meteor.npmRequire instead!' ) ; return Meteor . npmRequire ( moduleName ) ; } ; }
Following function has been defined to just get the content inside them They are not executables
Following function has been defined to just get the content inside them They are not executables