1var pz = require('../promzard') 2 3var path = require('path') 4var file = path.resolve(__dirname, 'substack-input.js') 5var ctx = { basename: path.basename(path.dirname(file)) } 6 7pz(file, ctx, function (er, res) { 8 if (er) 9 throw er 10 console.error(JSON.stringify(res, null, 2)) 11}) 12