debug-timezone
v1.0.0
Published
Wrapper around debug, which lets you specify timezone and date format for stdout
Downloads
2
Maintainers
Readme
debug-timezone
Wrapper around debug, which lets you specify timezone and date format for stdout
Installation
$ npm install debug-timezone
API
API is almost same as the original debug, you can now provide additional parameters for Timezone and Timestamp format:
const debug = require('debug-timezone')('Steve:Baller', 'DD.MM.YY', 'Europe/Lisbon')
debug('Developers! Developers! Developers!')
For formating and timezones see moment and moment-timezone packages