express-dump
v0.0.6
Published
Like a regular dump, only quicker.
Downloads
3
Maintainers
Readme
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