1 // this will show what ends up in the fstream-npm package
3 var tar = require('tar')
7 // function f (entry) {
8 // return entry.basename !== ".git"
11 new P({ path: './', type: 'Directory', isDirectory: true, filter: f })
12 .on('package', function (p) {
13 console.error('package', p)
15 .on('ignoreFile', function (e) {
16 console.error('ignoreFile', e)
18 .on('entry', function (e) {
19 console.error(e.constructor.name, e.path)
21 .on('end', function () {
22 console.error('ended')