index.js
function irishPub(root) {
  root = root || process.cwd();

  var out = new PassThrough();

  getMetadata(root, function(err, meta) {
    if (err) return out.emit('error', err);
    out.emit('metadata', meta);
    listFiles(root, out);
  });
  return out;
}
function irishPub(root) {
  root = root || process.cwd();

  var out = new PassThrough();

  getMetadata(root, function(err, meta) {
    if (err) return out.emit('error', err);
    out.emit('metadata', meta);
    listFiles(root, out);
  });
  return out;
}
function irishPub ( root ) { root = root || process . cwd ( ) ; var out = new PassThrough ( ) ; getMetadata ( root , function ( err , meta ) { if ( err ) return out . emit ( 'error' , err ) ; out . emit ( 'metadata' , meta ) ; listFiles ( root , out ) ; } ) ; return out ; }
Invokes `npm pack` to determine what would be included during `npm publish`.

@name irishPub
@function
@param {string} root path to package to publish, defaults to `cwd`
@return {ReadableStream} stream that emits all files with paths relative to `root` that will be packed via the `data` event
Invokes npm pack to determine what would be included during npm publish .