|
Server : LiteSpeed System : Linux terra.hostitbro.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : outerorb ( 1091) PHP Version : 8.1.34 Disable Function : mail Directory : /lib/node_modules/npm/node_modules/promzard/example/ | |
|
Path: //lib/node_modules/npm/node_modules/promzard/example/buffer.js
Size: 335 B
Permissions: 0644
var pz = require('../promzard')
var path = require('path')
var file = path.resolve(__dirname, 'substack-input.js')
var buf = require('fs').readFileSync(file)
var ctx = { basename: path.basename(path.dirname(file)) }
pz.fromBuffer(buf, ctx, function (er, res) {
if (er)
throw er
console.error(JSON.stringify(res, null, 2))
})