1.1.0 • Published 4 years ago
stormwinstonexpress v1.1.0
stormwinston
Preconfigured winston express with syntax coloring and file logging
Usage sample:
From command line:
npm install stormwinstonexpress
Then from the code:
const swe = require('stormwinstonexpress');
const port = process.env.PORT || 3000;
const app = express();
app.use(swe);
app.listen(port, () => {
console.log(`listening on port ${port}`);
});