UNPKG

nodebb-plugin-import-phpbb

Version:
13 lines (11 loc) 313 B
var fs = require('fs-extra'); require('./index').testrun({ dbhost: 'localhost', dbport: 3306, dbname: 'phpbb', dbuser: 'root', dbpass: 'password', tablePrefix: 'phpbb_' }, function(err, results) { fs.writeFileSync('./tmp.json', JSON.stringify(results, undefined, 2)); });