Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « example « promzard « node_modules « init-package-json « node_modules - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 435131f3a6d1e23df8accef9d699998768a614e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
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))
})