]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/fstream-npm/example/example.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / fstream-npm / example / example.js
1 // this will show what ends up in the fstream-npm package
2 var P = require('../')
3 P({ path: './' })
4   .on('package', function (p) {
5     console.error('package', p)
6   })
7   .on('ignoreFile', function (e) {
8     console.error('ignoreFile', e)
9   })
10   .on('entry', function (e) {
11     console.error(e.constructor.name, e.path.substr(e.root.dirname.length + 1))
12   })