UNPKG

registry-status-pagelet

Version:

Pagelet with visual status overview of npm registries

24 lines (19 loc) 534 B
'use strict'; var BigPipe = require('bigpipe'); // // Setup a basic HTTP based BigPipe server. // var bigpipe = BigPipe.createServer(8080, { pages: __dirname +'/pages', dist: __dirname +'/dist' }); bigpipe.once('listening', function listening() { console.log(''); console.log('The example is now listening on http://localhost:8080'); console.log(''); }); bigpipe.once('error', function error(err) { console.log(''); console.log('The example server failed to start because of an error:', err); console.log(''); });