D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
alt-nodejs10
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
promzard
/
example
/
Filename :
index.js
back
Copy
var pz = require('../promzard') var path = require('path') var file = path.resolve(__dirname, 'substack-input.js') var ctx = { basename: path.basename(path.dirname(file)) } pz(file, ctx, function (er, res) { if (er) throw er console.error(JSON.stringify(res, null, 2)) })