0.0.6 • Published 7 years ago

express-dump v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

express-dump

Like a regular dump, only quicker.

const app = require('express')();
const dump = require('express-dump');

const { middleware, dump: flush } = dump();

app.use(middleware);
app.listen(5000);

process.on('SIGINT', function() {
    flush()
        .then(() => process.exit());
        // Profit
});

install

with npm do:

npm install express-dump

license

MIT