code: function packageVersion(repo) {
      var location = repo ? path.join(repo, 'package.json') : './package.json';
      var pack = require(location);
      return pack['version'];
  }
docs: Load the version from package.json
  
  @param {string} repo